waybar: add mouse baterry indicator

This commit is contained in:
Leonardo Eugênio 2025-09-01 01:09:19 -03:00
parent 910670ba0b
commit b8cd22e425
7 changed files with 96 additions and 24 deletions

View file

@ -38,6 +38,7 @@ in
"custom/playerctl"
"tray"
"custom/controller-battery"
"custom/mouse-battery"
"custom/caffeine"
"pulseaudio"
(lib.optional (osConfig.services.vpn.enable or false) "custom/vpn")
@ -164,7 +165,11 @@ in
format = "{}";
exec = lib.getExe pkgs.controller-battery;
interval = 1;
tooltip = false;
};
"custom/mouse-battery" = {
format = "{}";
exec = lib.getExe pkgs.mouse-battery;
interval = 1;
};
"custom/caffeine" = {
format = "{}";