diff --git a/widgets/wifi.lua b/widgets/wifi_linux.lua similarity index 96% rename from widgets/wifi.lua rename to widgets/wifi_linux.lua index 973f109..23ed396 100644 --- a/widgets/wifi.lua +++ b/widgets/wifi_linux.lua @@ -21,7 +21,7 @@ local string = { -- Wifi: provides wireless information for a requested interface -- vicious.widgets.wifi -local wifi = {} +local wifi_linux = {} -- {{{ Variable definitions @@ -89,4 +89,4 @@ local function worker(format, warg) end -- }}} -return setmetatable(wifi, { __call = function(_, ...) return worker(...) end }) +return setmetatable(wifi_linux, { __call = function(_, ...) return worker(...) end }) diff --git a/widgets/wifiiw.lua b/widgets/wifiiw_linux.lua similarity index 95% rename from widgets/wifiiw.lua rename to widgets/wifiiw_linux.lua index b5e28b6..82d4e3f 100644 --- a/widgets/wifiiw.lua +++ b/widgets/wifiiw_linux.lua @@ -20,7 +20,7 @@ local string = { -- Wifiiw: provides wireless information for a requested interface using iw instead of deprecated iwconfig -- vicious.widgets.wifiiw -local wifiiw = {} +local wifiiw_linux = {} -- {{{ Wireless widget type @@ -63,4 +63,4 @@ local function worker(format, warg) end -- }}} -return setmetatable(wifiiw, { __call = function(_, ...) return worker(...) end }) +return setmetatable(wifiiw_linux, { __call = function(_, ...) return worker(...) end })