wmstartup.sh, Dropbox: Fix bug with wmstartup hanging forever, migrate to dropbox-cli
This commit is contained in:
		| @@ -73,7 +73,7 @@ for service in $services; do | |||||||
| 		else | 		else | ||||||
| 			printf "  [INFO] Waiting on $service\n" | 			printf "  [INFO] Waiting on $service\n" | ||||||
| 			sleep 0.5 | 			sleep 0.5 | ||||||
| 			i=$(expr i + 1) | 			i=$(expr $i + 1) | ||||||
| 		fi | 		fi | ||||||
| 	done | 	done | ||||||
| 	unset i | 	unset i | ||||||
|   | |||||||
| @@ -235,8 +235,8 @@ format-prefix = "Dropbox: " | |||||||
| format-prefix-foreground = ${res/colors.icon-dropbox} | format-prefix-foreground = ${res/colors.icon-dropbox} | ||||||
| interval = 15 | interval = 15 | ||||||
|  |  | ||||||
| exec = dropbox status | exec = dropbox-cli status | ||||||
| exec-if = which dropbox && [ "`dropbox status`" != "Up to date" ] && wget -q --spider http://www.startpage.com/ | exec-if = which dropbox-cli && [ "`dropbox-cli status`" != "Up to date" ] && wget -q --spider http://www.startpage.com/ | ||||||
|  |  | ||||||
| [module/eth] | [module/eth] | ||||||
| type = internal/network | type = internal/network | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user