Update waybar

This commit is contained in:
Pedro Rey Anca 2024-07-09 10:10:09 +02:00
parent 1bb44073ba
commit e775534e96

View file

@ -9,6 +9,7 @@
opacity = ".85";
cursor = "Numix-Cursor";
},
host,
...
}: {
programs.waybar.settings.mainBar = {
@ -28,11 +29,20 @@
modules-center = [
"hyprland/workspaces"
];
modules-right = [
modules-right =
[
"tray"
]
++ (
if (host == "frues-pc") # Only one with a big-enough screen
then [
"cpu"
"memory"
"disk"
]
else []
)
++ [
"pulseaudio"
"battery"
"network"
@ -115,7 +125,7 @@
};
pulseaudio = {
format = "{icon} {volume}%";
format-muted = "󰖁 ";
format-muted = " ";
format-icons = {
default = [" "];
};