diff --git a/home/config-files/waybar-mocha.css b/home/config-files/waybar-mocha.css index b01ca62..6426cfb 100644 --- a/home/config-files/waybar-mocha.css +++ b/home/config-files/waybar-mocha.css @@ -78,6 +78,7 @@ window#waybar { #clock, #battery, +#battery.bat2, #cpu, #memory, #temperature, diff --git a/home/default.nix b/home/default.nix index a76bac3..75df52f 100644 --- a/home/default.nix +++ b/home/default.nix @@ -138,7 +138,7 @@ $character''; height = 30; modules-left = [ "hyprland/workspaces" ]; #modules-center = [ "hyprland/window" ]; - modules-right = [ "tray" "network" "battery" "clock" ]; + modules-right = [ "tray" "network" "battery" "battery#bat2" "clock" ]; "tray" = { "icon-size" = 21; }; @@ -149,13 +149,24 @@ $character''; "max-length" = 50; }; "battery" = { - "bat" = "BAT1"; - "interval" = 60; + "bat" = "BAT0"; + "interval" = 10; "states" = { "warning" = 30; "critical" = 15; }; - "format" = " BAT: {capacity}%"; + "format" = " BAT IN: {capacity}%"; + #"format-icons" = ''["", "", "", "", ""]''; + "max-length" = 25; + }; + "battery#bat2" = { + "bat" = "BAT1"; + "interval" = 10; + "states" = { + "warning" = 30; + "critical" = 15; + }; + "format" = " BAT EX: {capacity}%"; #"format-icons" = ''["", "", "", "", ""]''; "max-length" = 25; };