From 4c1158f9b7d01c403a0f067c89fac8553df89097 Mon Sep 17 00:00:00 2001 From: Syed Daanish Date: Tue, 7 Jul 2026 23:13:42 +0100 Subject: [PATCH] Use correct battery level --- home/battery/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/battery/default.nix b/home/battery/default.nix index b896fc4..20d9589 100644 --- a/home/battery/default.nix +++ b/home/battery/default.nix @@ -6,7 +6,7 @@ let LEVEL=$(cat "$BAT/capacity") STATUS=$(cat "$BAT/status") - if [ "$STATUS" = "Discharging" ] && [ "$LEVEL" -lt 90 ]; then + if [ "$STATUS" = "Discharging" ] && [ "$LEVEL" -lt 20 ]; then ${pkgs.dunst}/bin/dunstify \ -r 9991 \ -t 0 \