waybar: add power-profiles-daemon module
Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
parent
4ead66e6b1
commit
0c275d22df
2 changed files with 27 additions and 0 deletions
|
@ -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";
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue