summaryrefslogtreecommitdiff
path: root/i3blocks-battery.sh
diff options
context:
space:
mode:
Diffstat (limited to 'i3blocks-battery.sh')
-rwxr-xr-xi3blocks-battery.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/i3blocks-battery.sh b/i3blocks-battery.sh
index af2d37f..c37c7a2 100755
--- a/i3blocks-battery.sh
+++ b/i3blocks-battery.sh
@@ -9,7 +9,7 @@ level=$(apm -l)
[ $status -eq 0 ] && printf "%s" $icon_high
[ $status -eq 1 ] && printf "%s" $icon_low
-[ $status -eq 2 ] && printf "%s" $icon_crit
+[ $status -eq 2 ] && printf "%s" $icon_crit && notify-send "Battery critically low"
[ $status -eq 3 ] && printf "%s" $icon_charging
-printf " %s%%\n" $level
+printf "%s%%\n" $level