Update waybar
This commit is contained in:
parent
1bb44073ba
commit
e775534e96
|
@ -9,6 +9,7 @@
|
||||||
opacity = ".85";
|
opacity = ".85";
|
||||||
cursor = "Numix-Cursor";
|
cursor = "Numix-Cursor";
|
||||||
},
|
},
|
||||||
|
host,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
programs.waybar.settings.mainBar = {
|
programs.waybar.settings.mainBar = {
|
||||||
|
@ -28,17 +29,26 @@
|
||||||
modules-center = [
|
modules-center = [
|
||||||
"hyprland/workspaces"
|
"hyprland/workspaces"
|
||||||
];
|
];
|
||||||
modules-right = [
|
modules-right =
|
||||||
"tray"
|
[
|
||||||
"cpu"
|
"tray"
|
||||||
"memory"
|
]
|
||||||
"disk"
|
++ (
|
||||||
"pulseaudio"
|
if (host == "frues-pc") # Only one with a big-enough screen
|
||||||
"battery"
|
then [
|
||||||
"network"
|
"cpu"
|
||||||
"custom/notification"
|
"memory"
|
||||||
"clock"
|
"disk"
|
||||||
];
|
]
|
||||||
|
else []
|
||||||
|
)
|
||||||
|
++ [
|
||||||
|
"pulseaudio"
|
||||||
|
"battery"
|
||||||
|
"network"
|
||||||
|
"custom/notification"
|
||||||
|
"clock"
|
||||||
|
];
|
||||||
clock = {
|
clock = {
|
||||||
format = " {:%H:%M}";
|
format = " {:%H:%M}";
|
||||||
tooltip = true;
|
tooltip = true;
|
||||||
|
@ -115,7 +125,7 @@
|
||||||
};
|
};
|
||||||
pulseaudio = {
|
pulseaudio = {
|
||||||
format = "{icon} {volume}%";
|
format = "{icon} {volume}%";
|
||||||
format-muted = " ";
|
format-muted = " ";
|
||||||
format-icons = {
|
format-icons = {
|
||||||
default = [" "];
|
default = [" "];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue