puntos/.config/waybar/zeit.sh
2023-02-16 15:05:14 -03:00

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