From 74f013391eafb9517e19263b374d98a7fdcf1cee Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Wed, 4 Oct 2023 21:57:05 +0200 Subject: eww: Update date format --- .config/eww/scripts/datetime-listener | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to '.config/eww/scripts') 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 -- cgit v1.2.3