vicious/widgets
Adrian C. (anrxc) fac688ec4b wifi: add support for /usr/bin binary path
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
2013-05-27 17:51:58 +02:00
..
bat.lua bat: metatable bugfix after lua52 port 2012-06-18 02:01:29 +02:00
cpu.lua widgets: cleanup behind the last commit 363c03e 2012-06-18 01:31:42 +02:00
cpufreq.lua Ported vicious.widgets module to lua 5.2 2012-06-18 01:26:31 +02:00
cpuinf.lua Ported vicious.widgets module to lua 5.2 2012-06-18 01:26:31 +02:00
date.lua Ported vicious.widgets module to lua 5.2 2012-06-18 01:26:31 +02:00
dio.lua Ported vicious.widgets module to lua 5.2 2012-06-18 01:26:31 +02:00
fs.lua Ported vicious.widgets module to lua 5.2 2012-06-18 01:26:31 +02:00
gmail.lua Ported vicious.widgets module to lua 5.2 2012-06-18 01:26:31 +02:00
hddtemp.lua Ported vicious.widgets module to lua 5.2 2012-06-18 01:26:31 +02:00
init.lua Ported vicious.widgets module to lua 5.2 2012-06-18 01:26:31 +02:00
mbox.lua Ported vicious.widgets module to lua 5.2 2012-06-18 01:26:31 +02:00
mboxc.lua Ported vicious.widgets module to lua 5.2 2012-06-18 01:26:31 +02:00
mdir.lua mdir: add support for maildir whitespaces 2012-08-19 00:48:24 +02:00
mem.lua widgets: cleanup behind the last commit 363c03e 2012-06-18 01:31:42 +02:00
mpd.lua Ported vicious.widgets module to lua 5.2 2012-06-18 01:26:31 +02:00
net.lua Ported vicious.widgets module to lua 5.2 2012-06-18 01:26:31 +02:00
org.lua Ported vicious.widgets module to lua 5.2 2012-06-18 01:26:31 +02:00
os.lua os: change os.getenv init to allow standalone usage of os widget 2012-06-25 00:39:23 +02:00
pkg.lua Ported vicious.widgets module to lua 5.2 2012-06-18 01:26:31 +02:00
raid.lua widgets: cleanup behind the last commit 363c03e 2012-06-18 01:31:42 +02:00
thermal.lua Ported vicious.widgets module to lua 5.2 2012-06-18 01:26:31 +02:00
uptime.lua uptime: metatable bugfix after lua52 port fixed by Jorg Thalheim 2012-06-25 22:35:10 +02:00
volume.lua Ported vicious.widgets module to lua 5.2 2012-06-18 01:26:31 +02:00
weather.lua Ported vicious.widgets module to lua 5.2 2012-06-18 01:26:31 +02:00
wifi.lua wifi: add support for /usr/bin binary path 2013-05-27 17:51:58 +02:00