waybar: move battery capacity to tooltip, add backlight back

This commit is contained in:
Evie Litherland-Smith 2024-01-22 14:34:40 +00:00
parent df4d6012af
commit 8dba231b04
2 changed files with 8 additions and 5 deletions

View file

@ -21,6 +21,7 @@
"custom/notification"
"clock"
"custom/separator"
"backlight"
"battery"
"tray"
];
@ -126,7 +127,7 @@
};
};
backlight = {
format = "{icon}";
format = "{icon} ";
tooltip-format = "{percent}%";
format-icons = [ "" "" "" "" "" "" "" "" "" ];
};
@ -135,10 +136,10 @@
warning = 30;
critical = 15;
};
format = "{icon} {capacity}%";
format-charging = "󰂄 {capacity}%";
format-plugged = "󰚥";
tooltip-format = "{time}";
format = "{icon} ";
format-charging = "󰂄 ";
format-plugged = "󰚥 ";
tooltip-format = "{capacity}% {time}";
format-icons = [ "󱃍" "󰁺" "󰁻" "󰁼" "󰁽" "󰁾" "󰁿" "󰂀" "󰂁" "󰂂" "󰁹" ];
};
"custom/notification" = {

View file

@ -73,6 +73,7 @@ tooltip {
#window,
#mpris,
#pulseaudio,
#backlight,
#battery,
#clock,
#custom-notification,
@ -114,6 +115,7 @@ tooltip {
#clock {
color: @blue;
}
#backlight,
#battery {
color: @lavender;
}