From 0ce7301d8799ba91a0d57ab208e2d80d20935a83 Mon Sep 17 00:00:00 2001 From: "Adam T. Carpenter" Date: Mon, 18 May 2020 20:56:13 -0400 Subject: temp fixes for blocks utf+8 errors, added dict.sh, updated porter --- i3blocks-battery.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'i3blocks-battery.sh') 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 -- cgit v1.2.3