diff options
author | ache <ache@ache.one> | 2021-10-02 09:55:57 +0200 |
---|---|---|
committer | ache <ache@ache.one> | 2021-10-02 09:55:57 +0200 |
commit | b3e56535dca3fb288f814802419d163e8a073d5b (patch) | |
tree | b1948bbf8abc76c602fea71d672b312f7b6e3799 | |
parent | Fix Wifi info (diff) |
Update Wifi signal
-rw-r--r-- | rc.lua | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -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 |