repositories
/
dotfiles.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
627af67
)
bar
author
Mart Lubbers
<mart@martlubbers.net>
Thu, 15 Nov 2018 08:51:19 +0000
(09:51 +0100)
committer
Mart Lubbers
<mart@martlubbers.net>
Thu, 15 Nov 2018 08:51:19 +0000
(09:51 +0100)
x/.local/bin/bar
patch
|
blob
|
history
diff --git
a/x/.local/bin/bar
b/x/.local/bin/bar
index
76d6e06
..
459235d
100755
(executable)
--- 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