diff options
Diffstat (limited to '.local/bin')
| -rwxr-xr-x | .local/bin/status/sb-battery | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/.local/bin/status/sb-battery b/.local/bin/status/sb-battery index e4b29c6..2fe3ce5 100755 --- a/.local/bin/status/sb-battery +++ b/.local/bin/status/sb-battery @@ -3,7 +3,7 @@  case $(hostname -s) in  	mother) exit ;;  	po-rbo) -		echo -n "^c#fabd2f^" +		printf "^c#fabd2f^"  		charge=$(cat /sys/class/power_supply/BAT0/capacity)  		case "$(cat /sys/class/power_supply/BAT0/status)" in  			"Charging"|"Not charging") printf " " ;; @@ -23,7 +23,7 @@ case $(echo "$charge" / 20 | bc) in  	"2") printf " " ;;  	"3") printf " " ;;  	"4") -		[ "$charge" -gt 94 ] && return +		[ "$charge" -gt 98 ] && return  		printf " "  		;;  	"5") | 
