Use correct battery level
This commit is contained in:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user