summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.lua b/rc.lua
index 9903f14..ec5d854 100644
--- a/rc.lua
+++ b/rc.lua
@@ -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