aboutsummaryrefslogtreecommitdiff
path: root/xwicd
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-06-27 17:06:49 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-06-27 17:06:49 -0300
commitebacc008587913c866c5b4460313dc92d93544c1 (patch)
tree1ef182171e5a27fa049ba340f3ba25376a67b978 /xwicd
parent01833321390de009909a6ab50bab8692b64f5799 (diff)
downloadscripts-ebacc008587913c866c5b4460313dc92d93544c1.tar.gz
scripts-ebacc008587913c866c5b4460313dc92d93544c1.tar.bz2
Check for wicd-gtk
Diffstat (limited to 'xwicd')
-rwxr-xr-xxwicd4
1 files changed, 3 insertions, 1 deletions
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