diff options
author | ache <ache@ache.one> | 2017-11-05 13:55:54 +0000 |
---|---|---|
committer | ache <ache@ache.one> | 2017-11-05 13:55:54 +0000 |
commit | 185b769ee059eeab458d963cd4a92acf0b637be8 (patch) | |
tree | fc0740301cbbd86cd8f4833df852af334b1d6728 /rc.lua | |
parent | No wifi reference (diff) |
Add ip to wifi ESSID
Diffstat (limited to 'rc.lua')
-rw-r--r-- | rc.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -263,7 +263,7 @@ function act() function(essid, stderr2, reason2, exit_code2) awful.spawn.easy_async("bash -c \"iwconfig 2>1 | grep -v 'no wireless' | grep Signal | cut -d'=' -f 3 | cut -d' ' -f 1\"", function(signal, stderr3, reason3, exit_code3) - mynetworkwidget:set_text ( string.sub(essid, 0, string.len(essid)-1) .. "#" .. signal) + mynetworkwidget:set_text ( ip .. "@" .. string.sub(essid, 0, string.len(essid)-1) .. "#" .. signal) end) end) else |