diff options
author | Justine Smithies <justine@smithies.me.uk> | 2024-06-02 13:29:44 +0100 |
---|---|---|
committer | Justine Smithies <justine@smithies.me.uk> | 2024-06-02 13:29:44 +0100 |
commit | ec631fd1cd30506127b3791bc7677ef1a412ba98 (patch) | |
tree | 6159dd8aa95c69d14b01d8b7fae72d459065ef9d /.config | |
parent | 1695d600a000abf65ef6e5e0a176991c00773b31 (diff) |
Set to update every minute to avoid not updating when passing through midnight
Diffstat (limited to '.config')
-rwxr-xr-x | .config/yambar/scripts/dater.sh | 7 |
1 files changed, 1 insertions, 6 deletions
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 |