diff options
author | Thomas Voss <mail@thomasvoss.com> | 2025-03-08 13:44:56 +0100 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2025-03-08 13:44:56 +0100 |
commit | 8ac99e4cba8013dbb655920bdea0fd826e015e1f (patch) | |
tree | 1bd3c65eb7512146ffbb25992d32b23ba4d7ab48 /.config/eww | |
parent | 4605c73cd896c281ca8bc0df25b0d25f7a3ebd67 (diff) |
eww: Don’t show the seconds
Diffstat (limited to '.config/eww')
-rwxr-xr-x | .config/eww/scripts/datetime-listener | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/.config/eww/scripts/datetime-listener b/.config/eww/scripts/datetime-listener index b10f4a5..1cd8e39 100755 --- a/.config/eww/scripts/datetime-listener +++ b/.config/eww/scripts/datetime-listener @@ -6,6 +6,7 @@ do # date +'%A, %-d of %B %Y — %T %Z' # TZ='Asia/Kolkata' date +'(%T %Z)' # } | paste -sd ' ' - date +'%A, %-d of %B %Y — %T %Z' - sleep "$(date +'%s.%N' | dc -e '? d 1 + 1 / r - p')" + date +'%A, %-d of %B %Y — %H:%M %Z' + sleep 10 + # sleep "$(date +'%s.%N' | dc -e '? d 1 + 1 / r - p')" done | ordinal -p1 |