summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2025-11-05 20:32:38 +0100
committerThomas Voss <mail@thomasvoss.com> 2025-11-05 20:32:38 +0100
commit75ad3d9790d32b2545cf929d524b300f8129e0de (patch)
treedb364ee00c86e7a8024b728789f10f061d1b4f4a /.config
parentf58f38aef446e1e330dbc6169396a36e587bbe6d (diff)
eww: Add Helsingfors time to the system clock
Diffstat (limited to '.config')
-rwxr-xr-x.config/eww/scripts/datetime-listener7
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'