diff options
| author | Thomas Voss <mail@thomasvoss.com> | 2025-11-05 20:32:26 +0100 |
|---|---|---|
| committer | Thomas Voss <mail@thomasvoss.com> | 2025-11-05 20:32:26 +0100 |
| commit | f58f38aef446e1e330dbc6169396a36e587bbe6d (patch) | |
| tree | 53673ab7b91211ed50d20a4a3198cab30fd347f6 /.config/eww/scripts/timer-listener | |
| parent | 9bde46ecfb069c0b469ecb7e316f12067f9b3682 (diff) | |
eww: Add a timer
Diffstat (limited to '.config/eww/scripts/timer-listener')
| -rwxr-xr-x | .config/eww/scripts/timer-listener | 16 |
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 |