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