From eaaa7fb95b9ff7add373bd47177bc87a288d29d6 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Fri, 10 May 2024 00:29:31 +0200 Subject: eww: Comment out code for Indian timezone --- .config/eww/scripts/datetime-listener | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) (limited to '.config/eww') 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 -- cgit v1.2.3