update
This commit is contained in:
parent
33ee2f5760
commit
f7afa33a13
14 changed files with 319 additions and 178 deletions
|
|
@ -58,21 +58,23 @@ let
|
|||
# It would be ideal to determine _when_ the current event ends, and set the
|
||||
# timeout accordinly. That would require parsing khal's output a bit more.
|
||||
while true; do
|
||||
(inotifywait \
|
||||
--event modify \
|
||||
--event create \
|
||||
--event delete \
|
||||
--event close_write \
|
||||
--event moved_to \
|
||||
--event move \
|
||||
--monitor \
|
||||
--timeout 120 \
|
||||
--recursive \
|
||||
"$HOME/.calendars" 2> /dev/null) || true | \
|
||||
while read -r _; do
|
||||
# (inotifywait \
|
||||
# --event modify \
|
||||
# --event create \
|
||||
# --event delete \
|
||||
# --event close_write \
|
||||
# --event moved_to \
|
||||
# --event move \
|
||||
# --monitor \
|
||||
# --timeout 120 \
|
||||
# --recursive \
|
||||
# "$HOME/.calendars" 2> /dev/null) || true | \
|
||||
# while read -r _; do
|
||||
# TODO: fix inotify stuff
|
||||
render
|
||||
sleep 30
|
||||
# timeout 3 cat || true # debounce for 3s, https://stackoverflow.com/a/69945839
|
||||
done
|
||||
# done
|
||||
done
|
||||
'';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue