aboutsummaryrefslogtreecommitdiff
path: root/xconky
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-12-29 11:13:04 -0200
committerSilvio Rhatto <rhatto@riseup.net>2016-12-29 11:13:04 -0200
commit1bf2f7c1531d28c2ca5c5c72ea67176e5b4555c1 (patch)
tree46f13ea63b3733638caf9674a57123b3774d76f1 /xconky
parentcede8dd9cebe35ef68d392fb0afdf8eb2f7ea767 (diff)
downloadutils-x11-1bf2f7c1531d28c2ca5c5c72ea67176e5b4555c1.tar.gz
utils-x11-1bf2f7c1531d28c2ca5c5c72ea67176e5b4555c1.tar.bz2
Check for conky availability
Diffstat (limited to 'xconky')
-rwxr-xr-xxconky5
1 files changed, 5 insertions, 0 deletions
diff --git a/xconky b/xconky
index e2b803f..dcd4aa7 100755
--- a/xconky
+++ b/xconky
@@ -45,6 +45,11 @@ function xconky_refresh {
killall -USR1 conky
}
+# Check
+if ! which conky &> /dev/null; then
+ exit
+fi
+
# Parse
if [ -z "$1" ] || [ "$1" == "start" ]; then
xconky_start