From afc0c42c30e133218986e9352d81c56d868097e9 Mon Sep 17 00:00:00 2001 From: vaskozl Date: Sun, 1 Mar 2015 14:18:25 +0100 Subject: interface fix for panel --- ratpoison/panel/signal | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ratpoison/panel') 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 -- cgit v1.2.3-54-g00ecf