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
|
DefaultProfile=Primary.profile
|
||||||
|
|
||||||
[Favorite Profiles]
|
[Favorite Profiles]
|
||||||
Favorites=Small.profile,Primary.profile
|
Favorites=Primary.profile,Small.profile
|
||||||
|
|
||||||
[FileDialogSize]
|
[FileDialogSize]
|
||||||
Height 1080=480
|
Height 1080=480
|
||||||
|
@ -223,7 +223,7 @@ format-prefix-foreground = ${res/colors.icon-dropbox}
|
|||||||
interval = 15
|
interval = 15
|
||||||
|
|
||||||
exec = dropbox status
|
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]
|
[module/fs-home]
|
||||||
type = internal/fs
|
type = internal/fs
|
||||||
|
Loading…
Reference in New Issue
Block a user