summaryrefslogtreecommitdiff
path: root/.config/eww/scripts/datetime-listener
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-10-04 21:57:05 +0200
committerThomas Voss <mail@thomasvoss.com> 2023-10-04 21:57:05 +0200
commit74f013391eafb9517e19263b374d98a7fdcf1cee (patch)
treecd61344298177b7e3b5b21e6117c1644fec11463 /.config/eww/scripts/datetime-listener
parentce1b008307c0750639d788b6da94a2447c57d5ba (diff)
eww: Update date format
Diffstat (limited to '.config/eww/scripts/datetime-listener')
-rwxr-xr-x.config/eww/scripts/datetime-listener4
1 files changed, 3 insertions, 1 deletions
diff --git a/.config/eww/scripts/datetime-listener b/.config/eww/scripts/datetime-listener
index 14453d9..53bcf9e 100755
--- a/.config/eww/scripts/datetime-listener
+++ b/.config/eww/scripts/datetime-listener
@@ -2,6 +2,8 @@
while :
do
- date +'pretty=%-d %B %Y (%A) — %T %Z%nmonth=%m' | jo
+ date +"pretty='%A, %-d of %B %Y — %T %Z' month='%m'" \
+ | ordinal -p1 \
+ | xargs jo
date +%s.%N | dc -e "? d 1 + 1 / r - p" | xargs sleep
done