From c761ce8ac29fc12e1e5fa57f24def10581b44e0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9ana=20=E6=B1=9F?= Date: Thu, 28 Aug 2025 10:34:03 +0800 Subject: [PATCH] vanadium/xmobar: add charging status --- nix/configurations/vanadium/home/xmobar/xmobar.hs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/nix/configurations/vanadium/home/xmobar/xmobar.hs b/nix/configurations/vanadium/home/xmobar/xmobar.hs index 7147209b..85bed399 100644 --- a/nix/configurations/vanadium/home/xmobar/xmobar.hs +++ b/nix/configurations/vanadium/home/xmobar/xmobar.hs @@ -35,13 +35,16 @@ config = (60 &minute) , Run $ Battery - [ "-t", " (" + [ "-t", " (" , "-H", "70" , "-L", "20" , "-h", "green" , "-n", "orange" , "-l", "red" , "--" + , "-O", "Charging" + , "-i", "Idle" + , "-o", "Battery" , "-P" , "-A", "10" -- TODO: File a bug upstream about notify-send