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