summaryrefslogtreecommitdiffstats
path: root/.local
diff options
context:
space:
mode:
Diffstat (limited to '.local')
-rwxr-xr-x.local/bin/statusbar/battery4
1 files changed, 2 insertions, 2 deletions
diff --git a/.local/bin/statusbar/battery b/.local/bin/statusbar/battery
index 65152f7..981fc3a 100755
--- a/.local/bin/statusbar/battery
+++ b/.local/bin/statusbar/battery
@@ -22,6 +22,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%%\n" "$status" "$warn" "$capacity"
+ printf "%s%s%s%% " "$status" "$warn" "$capacity"
unset warn
-done
+done | sed s/\ $/\\n/