mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 12:23:56 -05:00
waybar: improved tray spacing and battery icons
This commit is contained in:
parent
2154ff5324
commit
8aa026f038
|
@ -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" = "";
|
||||||
|
|
Loading…
Reference in a new issue