fix(wm): move wm config
This commit is contained in:
parent
163ab6b3c0
commit
f4cb1f9690
5 changed files with 0 additions and 0 deletions
78
nixos/wm/waybar.nix
Normal file
78
nixos/wm/waybar.nix
Normal file
|
|
@ -0,0 +1,78 @@
|
|||
{
|
||||
programs.waybar = {
|
||||
enable = true;
|
||||
style = ''
|
||||
* {
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
padding: 0;
|
||||
font-family: "VictorMono Nerd Font";
|
||||
font-size: 10pt;
|
||||
}
|
||||
|
||||
* {
|
||||
transition: none;
|
||||
}
|
||||
|
||||
#tags button.focused {
|
||||
border-top: 2px solid @base05;
|
||||
border-bottom: 2px solid @base05;
|
||||
}
|
||||
|
||||
#tags button.occupied {
|
||||
background-color: @base02;
|
||||
}
|
||||
|
||||
#tags button.urgent {
|
||||
background-color: @base08;
|
||||
color: @base00;
|
||||
}
|
||||
'';
|
||||
settings = {
|
||||
mainBar = {
|
||||
layer = "top";
|
||||
position = "top";
|
||||
height = 16;
|
||||
output = [
|
||||
"eDP-1"
|
||||
];
|
||||
modules-left = [
|
||||
"river/tags"
|
||||
"clock"
|
||||
];
|
||||
modules-center = [
|
||||
"mpris"
|
||||
];
|
||||
modules-right = [
|
||||
"pulseaudio"
|
||||
"network"
|
||||
"memory"
|
||||
"cpu"
|
||||
"temperature"
|
||||
"battery"
|
||||
"tray"
|
||||
];
|
||||
"river/tags" = {
|
||||
num-tags = 10;
|
||||
tag-labels = [ "1" "2" "3" "4" "5" "6" "7" "8" "9" "0" ];
|
||||
set-tags = [ 1 2 4 8 16 32 64 128 256 512 ];
|
||||
toogle-tags = [ 1 2 4 8 16 32 64 128 256 512 ];
|
||||
};
|
||||
"mpris" = {
|
||||
interval = 1;
|
||||
};
|
||||
"pulseaudio" = {
|
||||
format = "V{volume}%";
|
||||
format-muted = "(mute)";
|
||||
};
|
||||
"network" = {
|
||||
format = "disconected";
|
||||
format-wifi = "{bandwidthTotalBytes}";
|
||||
format-ethernet = "{bandwidthTotalBytes}";
|
||||
format-disconected = "disconected";
|
||||
interval = 1;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue