From e4a33ba5d0a00308e25ee201ce82ad455066f027 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9ana=20=E6=B1=9F?= Date: Tue, 1 Jul 2025 16:13:54 +0200 Subject: [PATCH] vanadium: let xmonad warn instead about low battery --- nix/configurations/vanadium/home/xmobar.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nix/configurations/vanadium/home/xmobar.nix b/nix/configurations/vanadium/home/xmobar.nix index b1c6d480..69e7b70a 100644 --- a/nix/configurations/vanadium/home/xmobar.nix +++ b/nix/configurations/vanadium/home/xmobar.nix @@ -17,6 +17,9 @@ , "-h", "green" , "-m", "yell" , "-l", "red" + -- Low battery warning + , "-A", "20" + , "-a", "notify-send -u critical \"Battery Low\" \"Please charge your battery\"" ] 10 , Run XMonadLog , Run