aboutsummaryrefslogtreecommitdiff
path: root/ratpoison/panel/signal
diff options
context:
space:
mode:
authorvaskozl <vasil.zlatanov@gmail.com>2015-03-01 14:18:25 +0100
committervaskozl <vasil.zlatanov@gmail.com>2015-03-01 14:18:25 +0100
commitafc0c42c30e133218986e9352d81c56d868097e9 (patch)
tree732ea431186a1ae253c621596ad8036357c1eb4b /ratpoison/panel/signal
parentdcfd734112dfbff3ad24c6bdbdea46b9f7919369 (diff)
downloaddotfiles-afc0c42c30e133218986e9352d81c56d868097e9.tar.gz
dotfiles-afc0c42c30e133218986e9352d81c56d868097e9.tar.bz2
dotfiles-afc0c42c30e133218986e9352d81c56d868097e9.zip
interface fix for panel
Diffstat (limited to 'ratpoison/panel/signal')
-rwxr-xr-xratpoison/panel/signal4
1 files changed, 2 insertions, 2 deletions
diff --git a/ratpoison/panel/signal b/ratpoison/panel/signal
index 75ec253..d494f5d 100755
--- a/ratpoison/panel/signal
+++ b/ratpoison/panel/signal
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/bash
while true;do
-signal=`iwconfig wlp2s0 | grep Signal| perl -pe 's/.*level=//; s/ dBm.*//'`
+signal=`iwconfig $INTERFACE | grep Signal| perl -pe 's/.*level=//; s/ dBm.*//'`
#convert to Quality
if [ $signal -le -100 ];then