From e89885133681524d483668a827cd1de5b16eeb2e Mon Sep 17 00:00:00 2001 From: Mart Lubbers Date: Thu, 15 Nov 2018 09:51:19 +0100 Subject: [PATCH] bar --- x/.local/bin/bar | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.20.1