summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorache <ache@ache.one>2017-11-06 00:38:04 +0100
committerache <ache@ache.one>2017-11-06 00:38:04 +0100
commit1f141348ef1947f1c5cbac100352f937c94150ea (patch)
treee5fc3456e1b5bd56e99f71af524f3cc05d164a32
parentHelp improved (diff)
parentAdd ip to wifi ESSID (diff)
Merge branch 'master' of git.ache.one:git/awesome
-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