diff options
author | vaskozl <vasil.zlatanov@gmail.com> | 2015-03-01 14:18:25 +0100 |
---|---|---|
committer | vaskozl <vasil.zlatanov@gmail.com> | 2015-03-01 14:18:25 +0100 |
commit | afc0c42c30e133218986e9352d81c56d868097e9 (patch) | |
tree | 732ea431186a1ae253c621596ad8036357c1eb4b /ratpoison/panel | |
parent | dcfd734112dfbff3ad24c6bdbdea46b9f7919369 (diff) | |
download | dotfiles-afc0c42c30e133218986e9352d81c56d868097e9.tar.gz dotfiles-afc0c42c30e133218986e9352d81c56d868097e9.tar.bz2 dotfiles-afc0c42c30e133218986e9352d81c56d868097e9.zip |
interface fix for panel
Diffstat (limited to 'ratpoison/panel')
-rwxr-xr-x | ratpoison/panel/signal | 4 |
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 |