From f8f78ed924e86b44df73f72f235ae0fdc49b7cf9 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Sun, 8 Sep 2024 12:07:16 +0200 Subject: eww: Enable IST time --- .config/eww/scripts/datetime-listener | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to '.config/eww/scripts') 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 -- cgit v1.2.3