diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-05-10 00:29:31 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-05-10 00:29:31 +0200 |
commit | eaaa7fb95b9ff7add373bd47177bc87a288d29d6 (patch) | |
tree | e2a06a6f459bad2e65126818735970ea14c18210 /.config/eww/scripts | |
parent | 313993e367a9d4e4e2975258c8a32269a1c7c242 (diff) |
eww: Comment out code for Indian timezone
Diffstat (limited to '.config/eww/scripts')
-rwxr-xr-x | .config/eww/scripts/datetime-listener | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/.config/eww/scripts/datetime-listener b/.config/eww/scripts/datetime-listener index 5fda3b3..b10f4a5 100755 --- a/.config/eww/scripts/datetime-listener +++ b/.config/eww/scripts/datetime-listener @@ -1,16 +1,11 @@ #!/bin/sh -# while true { -# { -# date +'%A, %-d of %B %Y — %T %Z' -# env TZ=Asia/Kolkata date +'(%H:%M %Z)' -# } -# | paste -sd' ' -# sleep `date +%s.%N | dc -e '? d 1 + 1 / r - p' -# } | ordinal -p1 - while : do - date +'%A, %-d of %B %Y — %T %Z' | paste -sd' ' + # { + # 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')" done | ordinal -p1 |