about summary refs log tree commit diff
diff options
context:
space:
mode:
authorKevin Mandura <webmaster@kevin-mandura.de>2024-06-29 13:44:15 +0200
committerKevin Mandura <webmaster@kevin-mandura.de>2024-06-29 13:44:15 +0200
commite72fe99cbc728558edf3b719546dd4f9566476cf (patch)
treef49f529d96e10af1dd8d46037ad2062cea1e570a
parent9c70b9f76ccccbb17e838f26bc4b7a24ad9c6234 (diff)
downloaddwm-status-sh-e72fe99cbc728558edf3b719546dd4f9566476cf.tar.gz
dwm-status-sh-e72fe99cbc728558edf3b719546dd4f9566476cf.zip
Remove unwanted character spacing in uptime module HEAD master
-rw-r--r--dwm-status.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwm-status.sh b/dwm-status.sh
index 9d2e035..422d79c 100644
--- a/dwm-status.sh
+++ b/dwm-status.sh
@@ -469,7 +469,7 @@ EOF
 module_uptime() {
     if [ "$1" = "force" ]; then
         # Get system uptime and store to file.
-        system_uptime=$(uptime -p | sed -e 's/up//g' -e 's/days/d/g' -e 's/day/d/g' -e 's/hours/h/g' -e 's/hour/h/g' -e 's/minutes/m/g' -e 's/minute/m/g')
+        system_uptime=$(uptime -p | sed -e 's/up//g' -e 's/ days/d/g' -e 's/ day/d/g' -e 's/ hours/h/g' -e 's/ hour/h/g' -e 's/ minutes/m/g' -e 's/ minute/m/g')
 
         printf "%s" "$system_uptime" > "$CACHE_UPTIME_FILE"
     else