Browse Source

Add critically low warning to battery script

master
Riyyi 7 years ago
parent
commit
a464e58abc
  1. 2
      .scripts/wm/battery.sh

2
.scripts/wm/battery.sh

@ -25,6 +25,8 @@ if [ "$(echo $BAT_INFO | awk '{ print $6 }')" = "remaining" ]; then
else else
ICON="" ICON=""
COLOR="#DC7A43" COLOR="#DC7A43"
notify-send -u critical -r 1 "Battery critically low!"
fi fi
else else
ICON="" ICON=""

Loading…
Cancel
Save