diff options
Diffstat (limited to '.config/eww/scripts/datetime-listener')
-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 |