summaryrefslogtreecommitdiffstats
path: root/.local/bin/status/sb-battery
blob: 2110062e7ac6b288d097d9266b0d48d351e774ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

status=$(apm -b)

[ "$status" -eq 3 ] && echo "ﮣ "

case $(echo $(apm -l) / 20 | bc) in
	"0") printf " ";;
	"1") printf " ";;
	"2") printf " ";;
	"3") printf " ";;
	"4") printf " ";;
	"5") printf "ﮣ ";;
esac