From 302358a4af3b822c124bbc3cd34c9f19030b78f1 Mon Sep 17 00:00:00 2001 From: Ivan Dimitrov Date: Sun, 21 Apr 2024 17:55:34 +0300 Subject: [PATCH] waybar battery format --- modules/home/programs/waybar/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/modules/home/programs/waybar/default.nix b/modules/home/programs/waybar/default.nix index 7969e69..a2dbc37 100644 --- a/modules/home/programs/waybar/default.nix +++ b/modules/home/programs/waybar/default.nix @@ -23,6 +23,15 @@ }; }; + battery = { + format = "{icon} {capacity}%"; + format-icons = [ "" "" "" "" "" ]; + states = { + warning = 30; + critical = 15; + }; + }; + pulseaudio = { format = "{icon} {volume}% | {format_source}"; format-source = "{volume}% ";