aboutsummaryrefslogtreecommitdiff
path: root/widgets/wifi.lua
AgeCommit message (Collapse)AuthorFiles
2014-11-15shell escape variables before passing them to the shellJörg Thalheim1
Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2013-05-27wifi: add support for /usr/bin binary pathAdrian C. (anrxc)1
Years ago iwconfig started its life in /sbin. Then some distributions moved it to /usr/bin. Then in 2012 some projects started pushing for deprecation of /usr/sbin and merging everything into /usr/bin. We now search paths including /usr/bin for the iwconfig binary. This is because sbin paths are not usually in non privileged user PATH, so we help io.popen locate the binary on the file-system. We do this search in the following way: - default to basename only, 'iwconfig' for the iwconfig variable - search paths one by one once and redeclare variable iwconfig with full path if binary is found in any - avoid searching paths on next execution if iwconfig variable already contains a path
2012-06-18Ported vicious.widgets module to lua 5.2Arvydas Sidorenko1
Signed-off-by: Arvydas Sidorenko <asido4@gmail.com> Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2010-10-29wifi: proper fix for SSID regexpAdrian C. (anrxc)1
2010-10-28wifi: removed spurious bracket from SSID regexpAdrian C. (anrxc)1
2010-10-24wifi: properly handle disconnectsAdrian C. (anrxc)1
2010-10-19wifi: provide link quality in percentAdrian C. (anrxc)1
2010-10-12wifi: improved SSID regular expressionAmir Mohammad Saied1
Current regular expression only matches two words ESSIDs, the other day I was at a friend's home with SSID "The Dark Tower". I was getting N/A. Signed-off-by: Amir Mohammad Saied <amirsaied@gmail.com> Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2010-04-02widgets: reuse existing datasets where appropriateAdrian C. (anrxc)1
Gmail, mbox, raid, weather and wifi could return the old value in case there isn't new data, no need for N/A to be so common on our wibox.
2010-03-15wifi: return 0 not N/A when channel is unavailableAdrian C. (anrxc)1
2010-03-14API: missing warg should not break awesomeAdrian C. (anrxc)1
2010-03-14API: transform widgets namespace table to a directoryAdrian C. (anrxc)1