Polybar: Only display Dropbox status if we're online
This commit is contained in:
parent
a3d3d8ee2f
commit
fcf572c2eb
@ -2,7 +2,7 @@
|
||||
DefaultProfile=Primary.profile
|
||||
|
||||
[Favorite Profiles]
|
||||
Favorites=Small.profile,Primary.profile
|
||||
Favorites=Primary.profile,Small.profile
|
||||
|
||||
[FileDialogSize]
|
||||
Height 1080=480
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user