From b3e56535dca3fb288f814802419d163e8a073d5b Mon Sep 17 00:00:00 2001 From: ache Date: Sat, 2 Oct 2021 09:55:57 +0200 Subject: Update Wifi signal --- rc.lua | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/rc.lua b/rc.lua index dd1d535..d4aa847 100644 --- a/rc.lua +++ b/rc.lua @@ -392,7 +392,12 @@ function act() function(essid, stderr2, reason2, exit_code2) if essid ~= "" then essid = string.gsub(essid, "\n", "") - toShow = toShow .. " [" .. essid .. "]" + if interface_wifi ~= interface_default then + toShow = toShow .. " ⏸️" + else + toShow = toShow .. " ▶️" + end + toShow = toShow .. "[" .. essid .. "]" mynetworkwidget:set_text ( toShow ) if essid ~= lastEssid then @@ -407,7 +412,7 @@ function act() function(signal, stderr3, reason3, exit_code3) if signal ~= "" then signal = string.gsub(signal, "\n", "") - toShow = toShow .. "(" .. signal .. ")" + toShow = toShow .. "(📶" .. signal .. ")" mynetworkwidget:set_text ( toShow ) end end -- cgit v1.2.3