diff options
author | Kevin Mandura <webmaster@kevin-mandura.de> | 2024-06-29 13:44:15 +0200 |
---|---|---|
committer | Kevin Mandura <webmaster@kevin-mandura.de> | 2024-06-29 13:44:15 +0200 |
commit | e72fe99cbc728558edf3b719546dd4f9566476cf (patch) | |
tree | f49f529d96e10af1dd8d46037ad2062cea1e570a | |
parent | 9c70b9f76ccccbb17e838f26bc4b7a24ad9c6234 (diff) | |
download | dwm-status-sh-master.tar.gz dwm-status-sh-master.zip |
-rw-r--r-- | dwm-status.sh | 2 |
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 |