summaryrefslogtreecommitdiff
path: root/.config/eww/scripts/datetime-listener
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-08-23 06:47:03 +0300
committerThomas Voss <mail@thomasvoss.com> 2023-08-23 06:47:03 +0300
commit7ff798534a6fb9c99611d18ee22757346798ef61 (patch)
tree1f6603ff9f3eede365e6963b3ac66b5edbd232fb /.config/eww/scripts/datetime-listener
parent8f7cbf4ad87d63fe82173645ecb590ebb0f12354 (diff)
eww: Add an eww configuration
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