From fcf572c2ebc7f98ef095da01d4f7fa8b4babc23b Mon Sep 17 00:00:00 2001 From: Salt Date: Tue, 26 Jun 2018 19:18:30 -0500 Subject: [PATCH] Polybar: Only display Dropbox status if we're online --- .config/konsolerc | 2 +- .config/polybar/config | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/konsolerc b/.config/konsolerc index 47e3959f..6ce6f06a 100644 --- a/.config/konsolerc +++ b/.config/konsolerc @@ -2,7 +2,7 @@ DefaultProfile=Primary.profile [Favorite Profiles] -Favorites=Small.profile,Primary.profile +Favorites=Primary.profile,Small.profile [FileDialogSize] Height 1080=480 diff --git a/.config/polybar/config b/.config/polybar/config index 2fa57ff3..a27092fc 100644 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -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