summaryrefslogtreecommitdiff
path: root/.local/bin/dwmbar/dwmb-battery
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/dwmbar/dwmb-battery')
-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/ *$//'