aboutsummaryrefslogtreecommitdiff
path: root/wifi.lua
diff options
context:
space:
mode:
authorAdrian C. (anrxc) <anrxc@sysphere.org>2009-09-24 15:34:56 +0200
committerAdrian C. (anrxc) <anrxc@sysphere.org>2009-09-24 15:34:56 +0200
commita54350782e9bbd81aad3ef58a11826e3cd13134c (patch)
treec2281044157b39ab3c7f780d500d084e7d3d3d55 /wifi.lua
parent080d1e82f535e5a8e6fb3fbb4e1df97f7a21bf42 (diff)
downloadvicious-legacy-a54350782e9bbd81aad3ef58a11826e3cd13134c.tar.xz
General cleanup to match with HEAD
Diffstat (limited to 'wifi.lua')
-rw-r--r--wifi.lua5
1 files changed, 2 insertions, 3 deletions
diff --git a/wifi.lua b/wifi.lua
index 966435f..063ce06 100644
--- a/wifi.lua
+++ b/wifi.lua
@@ -19,13 +19,12 @@ module("vicious.wifi")
-- {{{ Wireless widget type
local function worker(format, iface)
- -- Get data from iwconfig, on distributions where it is executable
- -- by users, and /sbin or /usr/sbin is in their path
+ -- Get data from iwconfig (where available)
local f = io.popen("iwconfig " .. iface)
local iw = f:read("*all")
f:close()
- -- Setup tables
+ -- Default values
local winfo = {
["{ssid}"] = "N/A",
["{mode}"] = "N/A",