diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-09-08 12:07:16 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-09-08 12:07:32 +0200 |
commit | f8f78ed924e86b44df73f72f235ae0fdc49b7cf9 (patch) | |
tree | 1b45a71a3473ef57278ba785649ff6a5ddf4ec10 /.config/eww/scripts | |
parent | 98cbdb2271e93cf7b45bf5a89106f4353ca9bdfc (diff) |
eww: Enable IST time
Diffstat (limited to '.config/eww/scripts')
-rwxr-xr-x | .config/eww/scripts/datetime-listener | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/.config/eww/scripts/datetime-listener b/.config/eww/scripts/datetime-listener index b10f4a5..9e81476 100755 --- a/.config/eww/scripts/datetime-listener +++ b/.config/eww/scripts/datetime-listener @@ -2,10 +2,10 @@ while : 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' + { + 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 |