diff options
| author | Thomas Voss <mail@thomasvoss.com> | 2025-11-05 20:32:38 +0100 |
|---|---|---|
| committer | Thomas Voss <mail@thomasvoss.com> | 2025-11-05 20:32:38 +0100 |
| commit | 75ad3d9790d32b2545cf929d524b300f8129e0de (patch) | |
| tree | db364ee00c86e7a8024b728789f10f061d1b4f4a /.config/eww/scripts/datetime-listener | |
| parent | f58f38aef446e1e330dbc6169396a36e587bbe6d (diff) | |
eww: Add Helsingfors time to the system clock
Diffstat (limited to '.config/eww/scripts/datetime-listener')
| -rwxr-xr-x | .config/eww/scripts/datetime-listener | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/.config/eww/scripts/datetime-listener b/.config/eww/scripts/datetime-listener index 2020635..b7c7fbd 100755 --- a/.config/eww/scripts/datetime-listener +++ b/.config/eww/scripts/datetime-listener @@ -1,7 +1,10 @@ #!/bin/sh -stdbuf -oL -- tiktok '%A, %-d %B %Y — %T %Z' TZ=Pacific/Auckland ' (%H:%M %Z)' \ +stdbuf -oL -- tiktok \ + '%A, %-d %B %Y — %T %Z' \ + TZ=Europe/Helsinki ' (%H:%M %Z,' \ + TZ=Pacific/Auckland ' %H:%M %Z)' \ | while read line do - echo "$line" | ordinal -p ', (\d+)' + echo "$line" | ordinal -p '^\w+, (\d+)' done | sed 's/^./\U&/g' |