From: Mart Lubbers Date: Thu, 15 Nov 2018 08:51:19 +0000 (+0100) Subject: bar X-Git-Url: https://git.martlubbers.net/?a=commitdiff_plain;h=e89885133681524d483668a827cd1de5b16eeb2e;p=dotfiles.git bar --- diff --git a/x/.local/bin/bar b/x/.local/bin/bar index 76d6e06..459235d 100755 --- a/x/.local/bin/bar +++ b/x/.local/bin/bar @@ -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