diff options
author | ache <ache@ache.one> | 2017-11-06 00:38:04 +0100 |
---|---|---|
committer | ache <ache@ache.one> | 2017-11-06 00:38:04 +0100 |
commit | 1f141348ef1947f1c5cbac100352f937c94150ea (patch) | |
tree | e5fc3456e1b5bd56e99f71af524f3cc05d164a32 | |
parent | Help improved (diff) | |
parent | Add ip to wifi ESSID (diff) |
Merge branch 'master' of git.ache.one:git/awesome
-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 |