waybar: improved tray spacing and battery icons

This commit is contained in:
Aly Raffauf 2024-04-11 12:17:53 -04:00
parent 2154ff5324
commit 8aa026f038

View file

@ -71,7 +71,7 @@
"battery" = { "battery" = {
"states" = {"critical" = 20;}; "states" = {"critical" = 20;};
"format" = "{icon}"; "format" = "{icon}";
"format-icons" = ["󰁺" "󰁼" "󰁿" "󰂁" "󰁹"]; "format-icons" = ["󰁺" "󰁻" "󰁼" "󰁽" "󰁾" "󰁿" "󰂀" "󰂁" "󰂂" "󰁹"];
"tooltip-format" = '' "tooltip-format" = ''
{capacity}%: {timeTo}. {capacity}%: {timeTo}.
Using {power} watts.''; Using {power} watts.'';
@ -121,7 +121,7 @@
"tooltip-format-disconnected" = "Disconnected"; "tooltip-format-disconnected" = "Disconnected";
"on-click" = "${pkgs.alacritty}/bin/alacritty --class nmtui -e ${pkgs.networkmanager}/bin/nmtui"; "on-click" = "${pkgs.alacritty}/bin/alacritty --class nmtui -e ${pkgs.networkmanager}/bin/nmtui";
}; };
"tray" = {"spacing" = 10;}; "tray" = {"spacing" = 15;};
"custom/logout" = { "custom/logout" = {
"on-click" = "${pkgs.wlogout}/bin/wlogout"; "on-click" = "${pkgs.wlogout}/bin/wlogout";
"format" = "󰗽"; "format" = "󰗽";