diff options
Diffstat (limited to 'i3blocks-battery.sh')
-rwxr-xr-x | i3blocks-battery.sh | 4 |
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 |