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-listener7
1 files changed, 7 insertions, 0 deletions
diff --git a/.config/eww/scripts/datetime-listener b/.config/eww/scripts/datetime-listener
new file mode 100755
index 0000000..c21dd02
--- /dev/null
+++ b/.config/eww/scripts/datetime-listener
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+while :
+do
+ date +'pretty=%d %B %Y (%A) — %T %Z%nmonth=%m' | jo
+ date +%s.%N | dc -e "? d 1 + 1 / r - p" | xargs sleep
+done