17 lines
204 B
Bash
Executable file
17 lines
204 B
Bash
Executable file
#!/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
|