From ec631fd1cd30506127b3791bc7677ef1a412ba98 Mon Sep 17 00:00:00 2001 From: Justine Smithies Date: Sun, 2 Jun 2024 13:29:44 +0100 Subject: Set to update every minute to avoid not updating when passing through midnight --- .config/yambar/scripts/dater.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to '.config/yambar') diff --git a/.config/yambar/scripts/dater.sh b/.config/yambar/scripts/dater.sh index 00d4b7e..2c70b63 100755 --- a/.config/yambar/scripts/dater.sh +++ b/.config/yambar/scripts/dater.sh @@ -17,10 +17,5 @@ date=$(date +"%A $(printf ${number##0}$extension) %B %Y -") echo "date|string|$date" echo "" -hour=$(date +'%H') -minute=$(date +'%M') - -second=$(expr $hour \* 3600 + $minute \* 60) - -sleep "$second" +sleep 60 done -- cgit v1.2.3