1
1
Fork 0

waybar: add power-profiles-daemon module

Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
Myned 2024-12-26 00:31:06 -05:00
parent 4ead66e6b1
commit 0c275d22df
Signed by: Myned
GPG key ID: C7224454F7881A34
2 changed files with 27 additions and 0 deletions

View file

@ -150,6 +150,7 @@ in {
"wireplumber"
"bluetooth"
"network"
"power-profiles-daemon"
"battery"
];
@ -345,6 +346,20 @@ in {
on-click-right = network; # Toggle networking on/off
};
# https://github.com/Alexays/Waybar/wiki/Module:-PowerProfilesDaemon
power-profiles-daemon = {
format = "{icon}";
format-icons = {
default = "";
performance = "";
balanced = "";
power-saver = "";
};
tooltip = false;
};
# https://github.com/Alexays/Waybar/wiki/Module:-Battery
"battery" = {
format = "{icon} {power:.0f}W";

View file

@ -107,6 +107,18 @@ tooltip label {
color: #b58900;
}
#power-profiles-daemon.default {
color: #dc322f;
}
#power-profiles-daemon.performance {
color: #cb4b16;
}
#power-profiles-daemon.power-saver {
color: #859900;
}
#tray {
background: #073642;
}