waybar
This commit is contained in:
parent
746bb52e03
commit
6a5a1b3771
1 changed files with 16 additions and 20 deletions
|
@ -1,7 +1,7 @@
|
|||
{ inputs, pkgs, ... }:
|
||||
with pkgs.lib.nix-rice;
|
||||
let strPalette = palette.toRGBHex pkgs.rice.colorPalette;
|
||||
fnt = pkgs.rice.font.monospace.name;
|
||||
fnt = pkgs.rice.font.propo.name;
|
||||
in {
|
||||
|
||||
programs.waybar = {
|
||||
|
@ -182,7 +182,6 @@ in {
|
|||
#pulseaudio,
|
||||
#wireplumber,
|
||||
#disk,
|
||||
#taskbar
|
||||
#cpu,
|
||||
#temperature,
|
||||
#custom-weather,
|
||||
|
@ -196,7 +195,6 @@ in {
|
|||
#memory
|
||||
#cpu
|
||||
#battery
|
||||
#taskbar
|
||||
#tray
|
||||
#power-profiles-daemon
|
||||
*/
|
||||
|
@ -204,8 +202,8 @@ in {
|
|||
* {
|
||||
border: none;
|
||||
font-size: 12pt;
|
||||
font-family: "${fnt}" ;
|
||||
min-height: 30px;
|
||||
font-family: "BlexMono Nerd Font Propo" ;
|
||||
min-height: 32px;
|
||||
}
|
||||
|
||||
button:hover {
|
||||
|
@ -217,17 +215,13 @@ button:hover {
|
|||
|
||||
window#waybar {
|
||||
background: ${strPalette.normal.background};
|
||||
margin: 5px;
|
||||
margin: 6px;
|
||||
}
|
||||
|
||||
.module {
|
||||
margin: 0;
|
||||
padding: 0 18px;
|
||||
min-width: 1em;
|
||||
}
|
||||
|
||||
.modules-left, .modules-right {
|
||||
margin-top: 2px;
|
||||
color: #ccc;
|
||||
}
|
||||
|
||||
|
@ -241,14 +235,21 @@ window#waybar {
|
|||
|
||||
.modules-center {
|
||||
padding: 0 15px;
|
||||
margin-top: 2px;
|
||||
color: #ccc;
|
||||
}
|
||||
|
||||
.modules-center .module {
|
||||
border: none;
|
||||
}
|
||||
|
||||
#taskbar button {
|
||||
margin: 0 3px;
|
||||
padding: 3px 6px;
|
||||
}
|
||||
|
||||
#taskbar button.active {
|
||||
background: #333;
|
||||
}
|
||||
|
||||
#taskbar > *:hover {
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
|
@ -294,7 +295,7 @@ window#waybar {
|
|||
|
||||
#workspaces button {
|
||||
color: #666;
|
||||
padding: 0;
|
||||
padding: 3px 6px;
|
||||
}
|
||||
|
||||
#workspaces button:hover {
|
||||
|
@ -305,15 +306,10 @@ window#waybar {
|
|||
color: #222;
|
||||
}
|
||||
|
||||
#workspaces button.focused
|
||||
{
|
||||
#workspaces button.focused {
|
||||
color: #ccc;
|
||||
}
|
||||
|
||||
#taskbar button.active {
|
||||
background: #333;
|
||||
}
|
||||
|
||||
@keyframes blink {
|
||||
to {
|
||||
background-color: #ffffff;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue