From 72ce1e2ab5fbe2e058506f50023e17d5d716b1f8 Mon Sep 17 00:00:00 2001 From: Hyperling Date: Mon, 10 Nov 2025 21:19:36 -0700 Subject: [PATCH] Prevent additional call in dwm-status. --- files/dwm/dwm-status.function | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/files/dwm/dwm-status.function b/files/dwm/dwm-status.function index f42087a..676c2ae 100755 --- a/files/dwm/dwm-status.function +++ b/files/dwm/dwm-status.function @@ -25,6 +25,7 @@ function dwm-status { } fi battery=""; storage=""; volume=""; datetime=""; + userhost="`whoami`@`hostname`" while true; do # Reset Variables if [[ $datetime == *"00" ]]; then @@ -54,7 +55,7 @@ function dwm-status { readout="$readout  $battery" readout="$readout |  $storage" readout="$readout |  $volume" - readout="$readout | `whoami`@`hostname`" + readout="$readout |  $userhost" readout="$readout $datetime" $cmd "$readout" readout=""