summaryrefslogtreecommitdiff
path: root/.local/bin/dwmbar
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2020-12-01 16:40:08 -0500
committerBenjamin Chausse <benjamin@chausse.xyz>2020-12-01 16:40:08 -0500
commit95012945a13707ec8a479587c74b61850c292181 (patch)
treee6f3839e8ea76bccea21d4384425cd2755997744 /.local/bin/dwmbar
parent57ba6889fa16d05e2fe914d7b90c5ebd9e6b191d (diff)
Figlet headers and more vim spring cleaning
Diffstat (limited to '.local/bin/dwmbar')
-rwxr-xr-x.local/bin/dwmbar/dwmb-battery2
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/dwmbar/dwmb-battery b/.local/bin/dwmbar/dwmb-battery
index 68f8b49..007bae4 100755
--- a/.local/bin/dwmbar/dwmb-battery
+++ b/.local/bin/dwmbar/dwmb-battery
@@ -25,6 +25,6 @@ do
# If it is discharging and 25% or less, we will add a  as a warning.
[ "$capacity" -le 25 ] && [ "$status" = " " ] && warn=" "
- printf "%s%s%s%% " " $status" "$warn" "$capacity"
+ printf "%s%s%s%%" " $status" "$warn" "$capacity"
unset warn
done | sed 's/ *$//'