summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-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