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
 | 
			
		||||
			printf "  [INFO] Waiting on $service\n"
 | 
			
		||||
			sleep 0.5
 | 
			
		||||
			i=$(expr i + 1)
 | 
			
		||||
			i=$(expr $i + 1)
 | 
			
		||||
		fi
 | 
			
		||||
	done
 | 
			
		||||
	unset i
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user