17 lines
204 B
Bash
17 lines
204 B
Bash
|
#!/bin/sh
|
||
|
. ~/.profile
|
||
|
|
||
|
update_zeit() {
|
||
|
zeit tracking --no-colors
|
||
|
}
|
||
|
update_zeit
|
||
|
|
||
|
(busybox inotifyd - "$ZEIT_DB":c | while read -r; do
|
||
|
update_zeit
|
||
|
done) &
|
||
|
|
||
|
while true; do
|
||
|
sleep 30
|
||
|
update_zeit
|
||
|
done
|