bar
[dotfiles.git] / x / .local / bin / bar
index 76d6e06..459235d 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 batprefix=/sys/class/power_supply/BAT0
 if [ -f $batprefix/charge_full -a -f $batprefix/charge_now ]; then
-       bat="⚡$(echo $(cat $batprefix/charge_now)*100/$(cat $batprefix/charge_full) | bc)% |"
+       bat="⚡$(echo $(cat $batprefix/charge_now)*100/$(cat $batprefix/charge_full) | bc)% | "
 fi
 
 if ip -br a | grep -q '^wlp'; then