summaryrefslogtreecommitdiff
path: root/.config/eww/scripts/timer-listener
diff options
context:
space:
mode:
Diffstat (limited to '.config/eww/scripts/timer-listener')
-rwxr-xr-x.config/eww/scripts/timer-listener16
1 files changed, 16 insertions, 0 deletions
diff --git a/.config/eww/scripts/timer-listener b/.config/eww/scripts/timer-listener
new file mode 100755
index 0000000..c604295
--- /dev/null
+++ b/.config/eww/scripts/timer-listener
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+cd "${0%/*}"
+
+while :
+do
+ while read line <../data/timer.pipe
+ do
+ if [ "$line" = "" ]
+ then
+ echo
+ else
+ printf '  %s\n' "$line"
+ fi
+ done
+done