summaryrefslogtreecommitdiff
path: root/.config/eww/scripts/datetime-listener
diff options
context:
space:
mode:
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