aboutsummaryrefslogtreecommitdiff
path: root/deskutils/cairo-dock-plugins/files/patch-wifi-data-wifi
blob: d7fe1a4fea55bf69b2e7df8352518971e5d3d466 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- wifi/data/wifi.orig	2012-03-10 14:33:22.124016420 +0200
+++ wifi/data/wifi	2012-03-10 14:42:50.174065239 +0200
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/local/bin/bash
 
 # Compiz check for Cairo-Dock
 #
@@ -17,4 +17,8 @@
 # GNU General Public License for more details.
 # http://www.gnu.org/licenses/licenses.html#GPL
 
-iwconfig 2>/dev/null
+#iwconfig 2>/dev/null
+
+lwlan = `ifconfig | awk -F": " '{print $1}' | awk '{print $1}' | grep wlan`
+
+ifconfig