wmstartup.sh, Dropbox: Fix bug with wmstartup hanging forever, migrate to dropbox-cli

This commit is contained in:
Salt 2018-08-11 14:52:14 -05:00
parent 305d0df7c4
commit 05f01a7d4e
2 changed files with 3 additions and 3 deletions

View File

@ -73,7 +73,7 @@ for service in $services; do
else
printf " [INFO] Waiting on $service\n"
sleep 0.5
i=$(expr i + 1)
i=$(expr $i + 1)
fi
done
unset i

View File

@ -235,8 +235,8 @@ format-prefix = "Dropbox: "
format-prefix-foreground = ${res/colors.icon-dropbox}
interval = 15
exec = dropbox status
exec-if = which dropbox && [ "`dropbox status`" != "Up to date" ] && wget -q --spider http://www.startpage.com/
exec = dropbox-cli status
exec-if = which dropbox-cli && [ "`dropbox-cli status`" != "Up to date" ] && wget -q --spider http://www.startpage.com/
[module/eth]
type = internal/network