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

View file

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