summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorache <ache@ache.one>2018-04-20 05:58:42 +0200
committerache <ache@ache.one>2018-04-20 05:58:42 +0200
commit52237495a3703cddc3e7053bbf1d5a427284d505 (patch)
tree5372f8c537a2a7e64bbd62d7001ca73585b13200
parentMerge branch 'master' of git.ache.one:git/awesome (diff)
Fix wifi information getter
-rw-r--r--rc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.lua b/rc.lua
index df93c5a..c1be81c 100644
--- a/rc.lua
+++ b/rc.lua
@@ -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", "")