From f7573fd8490081bd096da37f5fdb7a348079e895 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9ana=20=E6=B1=9F?= Date: Tue, 1 Jul 2025 18:04:37 +0200 Subject: [PATCH] vanadium: battery value color --- nix/configurations/vanadium/home/xmobar.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/nix/configurations/vanadium/home/xmobar.nix b/nix/configurations/vanadium/home/xmobar.nix index 817830e1..55ff9f6c 100644 --- a/nix/configurations/vanadium/home/xmobar.nix +++ b/nix/configurations/vanadium/home/xmobar.nix @@ -9,12 +9,14 @@ , position = BottomH 30 , commands = [ Run Date "%a %d %H:%M:%S" "date" 10 , Run Battery - [ "-t", "% ()" - , "--" + [ "-t", " ()" + , "-H", "70" + , "-L", "20" , "-h", "green" - , "-m", "orange" + , "-n", "orange" , "-l", "red" - -- Low battery warning + , "--" + , "-P" , "-A", "20" , "-a", "notify-send -u critical \"Battery Low\" \"Please charge your battery\"" ] 10