diff options
author | ache <ache@ache.one> | 2018-04-20 05:58:42 +0200 |
---|---|---|
committer | ache <ache@ache.one> | 2018-04-20 05:58:42 +0200 |
commit | 52237495a3703cddc3e7053bbf1d5a427284d505 (patch) | |
tree | 5372f8c537a2a7e64bbd62d7001ca73585b13200 | |
parent | Merge branch 'master' of git.ache.one:git/awesome (diff) |
Fix wifi information getter
-rw-r--r-- | rc.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -286,7 +286,7 @@ function act() lastIp = ip end end - awful.spawn.easy_async("bash -c \"iwconfig" .. interface .. "2>&1 | grep " .. interface .. " | cut -d'\\\"' -f 2 \"", + awful.spawn.easy_async("bash -c \"iwconfig " .. interface .. " 2>&1 | grep " .. interface .. " | cut -d'\\\"' -f 2 \"", function(essid, stderr2, reason2, exit_code2) if not (essid == "" ) then essid = string.gsub(essid, "\n", "") |