diff options
author | Thomas Voss <mail@thomasvoss.com> | 2023-10-04 21:57:05 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2023-10-04 21:57:05 +0200 |
commit | 74f013391eafb9517e19263b374d98a7fdcf1cee (patch) | |
tree | cd61344298177b7e3b5b21e6117c1644fec11463 /.config/eww | |
parent | ce1b008307c0750639d788b6da94a2447c57d5ba (diff) |
eww: Update date format
Diffstat (limited to '.config/eww')
-rwxr-xr-x | .config/eww/scripts/datetime-listener | 4 |
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 |