Switch taskmon to use inotify instead of a loop
This commit is contained in:
parent
156d8959e3
commit
3647b40e8d
1 changed files with 8 additions and 1 deletions
|
@ -1,2 +1,9 @@
|
|||
#!/bin/sh
|
||||
clear; task; while sleep 10; do clear; task; done
|
||||
clear
|
||||
task
|
||||
while
|
||||
sleep 1 && inotifywait $HOME/.task/backlog.data -e CLOSE_WRITE > /dev/null 2>&1
|
||||
do
|
||||
clear
|
||||
task
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue