Polybar: Only display Dropbox status if we're online

This commit is contained in:
Salt 2018-06-26 19:18:30 -05:00
parent a3d3d8ee2f
commit fcf572c2eb
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
DefaultProfile=Primary.profile
[Favorite Profiles]
Favorites=Small.profile,Primary.profile
Favorites=Primary.profile,Small.profile
[FileDialogSize]
Height 1080=480

View File

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