Compare commits

...

9 Commits

4 changed files with 24 additions and 38 deletions

View File

@ -190,6 +190,10 @@
"musnix" "musnix"
"--commit-lock-file" "--commit-lock-file"
"-L" "-L"
"--cores"
"12"
"-j"
"12"
]; ];
dates = "daily"; dates = "daily";
randomizedDelaySec = "45min"; randomizedDelaySec = "45min";

View File

@ -22,6 +22,11 @@ in {
extraConfig = '' extraConfig = ''
restore_paused "yes" restore_paused "yes"
auto_update "yes" auto_update "yes"
audio_output {
type "pipewire"
name "PipeWire Sound Server"
}
''; '';
}; };
services.mpd-mpris.enable = true; services.mpd-mpris.enable = true;

View File

@ -20,7 +20,7 @@ window#waybar {
} }
#workspaces button:hover, #workspaces button:hover,
#workspaces button:active { #workspaces button:active {
background-color: #292828; background-color: #606060;
color: #ffffff; color: #ffffff;
} }
#workspaces button.focused { #workspaces button.focused {
@ -41,47 +41,18 @@ window#waybar {
padding-right: 10px; padding-right: 10px;
} }
#tray { #tray,
border-width: 1px; #language,
border-style: none none none solid; #network,
border-color: #444444; #backlight,
padding-left: 3px; #clock,
padding-right: 3px; #wireplumber,
}
#language {
border-width: 1px;
border-style: none none none solid;
border-color: #444444;
padding-left: 3px;
padding-right: 3px;
}
#network {
border-width: 1px;
border-style: none none none solid;
border-color: #444444;
padding-left: 3px;
padding-right: 3px;
}
#backlight {
border-width: 1px;
border-style: none none none solid;
border-color: #444444;
padding-left: 3px;
padding-right: 3px;
}
#clock {
border-width: 1px;
border-style: none none none solid;
border-color: #444444;
padding-left: 3px;
padding-right: 3px;
}
#battery { #battery {
border-width: 1px; border-width: 1px;
border-style: none none none solid; border-style: none none none solid;
border-color: #444444; border-color: #444444;
padding-left: 3px; padding-left: 3px;
padding-right: 3px; padding-right: 6px;
} }
#battery.warning { #battery.warning {

View File

@ -44,7 +44,7 @@ in {
height = 26; height = 26;
modules-left = ["sway/workspaces" "sway/mode"]; modules-left = ["sway/workspaces" "sway/mode"];
modules-center = ["sway/window"]; modules-center = ["sway/window"];
modules-right = ["mpd" "tray" "custom/squeekboard" "sway/language" "clock" "backlight" "battery" "network"]; modules-right = ["mpd" "wireplumber" "tray" "custom/squeekboard" "sway/language" "clock" "backlight" "battery" "network"];
"sway/workspaces" = { "sway/workspaces" = {
disable-scroll = true; disable-scroll = true;
@ -134,6 +134,12 @@ in {
tooltip-format = "{ifname} via {gwaddr} 󰌘"; tooltip-format = "{ifname} via {gwaddr} 󰌘";
format-disconnected = "󰌙"; format-disconnected = "󰌙";
}; };
"wireplumber" = {
format = "{volume}% {icon}";
format-muted = "";
format-icons = ["" "" ""];
};
}; };
}; };
style = ./waybar.css; style = ./waybar.css;