aboutsummaryrefslogtreecommitdiff
path: root/xwicd
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-09-18 16:38:30 -0300
committerSilvio Rhatto <user@example.org>2014-09-18 16:38:30 -0300
commit9181c40eae371a758a68db47a79b124cf4141986 (patch)
treed1ade9808bf715a7b47e8a976a15e761b1ec1939 /xwicd
downloadutils-x11-9181c40eae371a758a68db47a79b124cf4141986.tar.gz
utils-x11-9181c40eae371a758a68db47a79b124cf4141986.tar.bz2
Initial import
Diffstat (limited to 'xwicd')
-rwxr-xr-xxwicd10
1 files changed, 10 insertions, 0 deletions
diff --git a/xwicd b/xwicd
new file mode 100755
index 0000000..3dd8954
--- /dev/null
+++ b/xwicd
@@ -0,0 +1,10 @@
+#!/bin/bash
+#
+# Start wicd if on laptop boxes.
+#
+
+if laptop-detect; then
+ if which wicd-gtk &> /dev/null; then
+ wicd-gtk --tray
+ fi
+fi