Commit 8e980ba7 authored by Derecho's avatar Derecho

[i3] Small fix to wifi blocklet regex

parent d8fc6f21
......@@ -22,7 +22,7 @@ if [ `cat /sys/class/net/$INTERFACE/operstate` = 'down' ]; then
echo "down"
echo ""
else
INFO=`wicd-cli -i | grep "Connected to" | sed "s/.*to \([a-zA-Z0-9_\-\ ]*\) at \([0-9%]*\).*/\2 (\1)/"`
INFO=`wicd-cli -i | grep "Connected to" | sed "s/.*to \([a-zA-Z0-9'_\-\ ]*\) at \([0-9%]*\).*/\2 (\1)/"`
QUALITY=`echo $INFO | cut -d'%' -f1`
echo $INFO
echo $QUALITY%
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment