From: Silvio Rhatto Date: Fri, 27 Jun 2014 20:06:49 +0000 (-0300) Subject: Check for wicd-gtk X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=ebacc008587913c866c5b4460313dc92d93544c1;p=scripts.git Check for wicd-gtk --- diff --git a/xwicd b/xwicd index 84a82c1..3dd8954 100755 --- a/xwicd +++ b/xwicd @@ -4,5 +4,7 @@ # if laptop-detect; then - wicd-gtk --tray + if which wicd-gtk &> /dev/null; then + wicd-gtk --tray + fi fi