From 52237495a3703cddc3e7053bbf1d5a427284d505 Mon Sep 17 00:00:00 2001 From: ache Date: Fri, 20 Apr 2018 05:58:42 +0200 Subject: Fix wifi information getter --- rc.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", "") -- cgit v1.2.3