aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFiles
2013-12-22Next release, tag 2.1.2v2.1.2Adrian C. (anrxc)1
2013-12-22bat: expose information on battery wear and tearNormal Ra2
Modern batteries should expose information about their design capacity which we can compare to current capacity and deduce how much 'wear' the battery got and expose that as a negative value percentage. Feature sent in August took a while to convince the maintainer many modern batteries provide this information. Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2013-12-15README: write a list of major contributors to the projectAdrian C. (anrxc)1
Thank you all, and thanks very much to those who contributed only once and are omitted from the documentation.
2013-12-15init: stop allocating reg table functions with propertiesAdrian C. (anrxc)1
This partly reverts commit f1844decefb because a user reported seeing nil passed as the object to the reg.update() function.
2013-12-15Revert "init: emit timeout instead of forced update"Adrian C. (anrxc)1
This reverts commit 932bd8dfc because with shared timers feature from commit 211d4509 shared timer emitting timeout can update all shared objects.
2013-12-15weather: add support for dew pointJonathan McCrohan2
Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com> Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2013-12-15bat: Use a real minus sign for the charging statusMartin Ueding1
Previously, a simple hyphen (“-”) was used to show that the battery is discharging. The minus sign is a distinct char, and also distinct from the en-dash (“–”) and the em-dash (“—”). With this commit, I put in a unicode “MINUS SIGN” (0x2212) which I created with a Digraph in Vim `^k-2`. Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2013-12-02README: explain wifi abbreviations linp and signAdrian C. (anrxc)1
2013-11-26README: enable caching in vicious.widgets.cpu exampleAdrian C. (anrxc)1
2013-11-23init: share timers when possibleDodo1
We need time to give this a proper test with various usage scenarios; multiple screens (and thus widget object instances), widgets suspending and resuming and so on. Most benefits should come from running on battery power (and if not suspending all widgets but Battery it self on battery power), with less wake-ups. Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2013-11-09Revert "mpd: workaround command termination bug in mpd server v0.18"Adrian C. (anrxc)1
This reverts commit a6a73f47, because the issue was solved in mpd release 0.18.2. I imported the workaround for historical reasons and in case someone gets stuck with version 0.18 on his preferred OS distribution.
2013-11-08mpd: workaround command termination bug in mpd server v0.18joe di castro1
See Debian bug report #728982 for more information. Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2013-11-02README: update awesome usage examples for v3.5Uli Schlachter2
Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2013-11-02pkg: revert to pacman as default Arch method, checkupdates optionalAdrian C. (anrxc)1
Checkupdates is a good tool avoiding any need for period pacman -Sy jobs from root crontab, however it works by maintaining its own database in /tmp by default (and _that_ is a tmpfs by default) so on every initialization it would stall awesome until it makes the first sync. Better approach would be to keep its db inside $HOME for persistence, and then to initiate the first (and longest) sync manually before converting your package widgets to "Arch C". All this is the reason I can't recommend it as the default right now...
2013-11-02pkg: use checkupdates on Arch Linux.Andrea Scarpino1
It prints a list of pending updates without touching the system sync databases. Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2013-11-02contrib: add Open Weather and ATi graphics widget typesNormal Ra3
These were contributed by one of the users, and remain untested by me. Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2013-07-21mboxc: Fixed typo in setmetatable after ported to lua 5.2Juergen Descher1
Signed-off-by: Juergen Descher <jhdl@gmx.net> Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2013-06-01README: explain vicious is a generic WM widget libraryAdrian C. (anrxc)2
Vicious can be used stand-alone, or to feed widgets in window managers beside awesome. So why not provide it to a few Ion, or WMII, or i3 or <foobar> users. Lua is the best thing since sliced bread.
2013-05-27Next release, tag 2.1.1v2.1.1Adrian C. (anrxc)1
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
2013-01-22README: usage examples are for awesome version 3.4Adrian C. (anrxc)1
2012-09-02contrib: add buildbot monitoring widgetAndrzej Bieniek2
Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2012-08-25Next release, tag 2.1.0v2.1.0Adrian C. (anrxc)1
2012-08-19mdir: add support for maildir whitespacesAdrian C. (anrxc)1
This feature was sent by pofman@free.fr.
2012-08-02README: prefer vicious in global spaceAdrian C. (anrxc)2
We want to expose suspend, activate and force functions to external shell scripts not just the Lua prompt.
2012-06-25uptime: metatable bugfix after lua52 port fixed by Jorg ThalheimAdrian C. (anrxc)1
2012-06-25contrib: document how to enable contributed widgetsAdrian C. (anrxc)2
2012-06-25os: change os.getenv init to allow standalone usage of os widgetAdrian C. (anrxc)1
Test case: lua> foo = require("vicious.widgets.os") lua> print(foo()[1]) /usr/share/lua/5.1/vicious/widgets/os.lua:66: attempt to call field 'getenv' (a nil value)
2012-06-25contrib: initialization bugfix after lua52 portAdrian C. (anrxc)3
The _NAME field was missing in the contrib table. Thanks to Jorg Thalheim for reporting this.
2012-06-18README: update initialization instructionsAdrian C. (anrxc)1
With the Lua 5.2 port we change the way vicious is loaded as a module, so that it remains backwards compatible with Lua 5.1 users. Also added the author of the Lua 5.2 port to the contributors list.
2012-06-18bat: metatable bugfix after lua52 portAdrian C. (anrxc)1
2012-06-18widgets: cleanup behind the last commit 363c03eAdrian C. (anrxc)3
2012-06-18Fixed io.lines() bugArvydas Sidorenko2
In Lua 5.2 io.lines() has to be used to iterate until EOF, otherwise the fd will not be closed and eventually tons of naughty messages will start to pop up saying that no more fd can be opened. Signed-off-by: Arvydas Sidorenko <asido4@gmail.com> Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2012-06-18Ported vicious.contrib to lua 5.2Arvydas Sidorenko13
Signed-off-by: Arvydas Sidorenko <asido4@gmail.com> Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2012-06-18Ported vicious.widgets module to lua 5.2Arvydas Sidorenko25
Signed-off-by: Arvydas Sidorenko <asido4@gmail.com> Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2012-06-18Ported vicious module to lua 5.2Arvydas Sidorenko2
Signed-off-by: Arvydas Sidorenko <asido4@gmail.com> Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2012-05-20cpufreq: skip redudant freq variable checkAdrian C. (anrxc)1
2012-05-19cpufreq: rework new exception handlersAdrian C. (anrxc)1
Now that we are so nice to provide default frequency values check if frequency exists before calculating voltage, not to screw up *those* default values. Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2012-05-19cpufreq: handle not existing frequency/governerjinleileiking1
In some cases not all cpu informations will be provided. (ex. in virtual machines) Therefore default to "N/A". Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2012-05-09pkg: update 'Arch S' substitution linesAdrian C. (anrxc)1
It would appear pacman v4 now prints only one line before the package list.
2012-04-01Next release, tag 2.0.4v2.0.4Adrian C. (anrxc)1
2012-03-31README: update thermal documentationAdrian C. (anrxc)1
Thermal now accepts an optional third argument when warg is a table.
2012-03-31thermal: change coretemp default, allow file as widget argumentAdrian C. (anrxc)1
Since Linux 3.0 most if not all people have temp1_input file missing, so default to temp2_input. But also allow an optional third argument to change to yet another file to avoid this kind of problem in the future.
2012-03-04division by zero, if battery is full chargedJörg Thalheim1
If the battery state change from charging to full, power_now is reseted to zero for a little time. This cause division by zero, which was visible as a very big negative number because of the behaviour of string.format. Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2012-02-05hddtemp: fix curl hang in version 7.24.0Adrian C. (anrxc)1
2012-01-20README: add format function example for overriding symbolsAdrian C. (anrxc)1
2012-01-20cpufreq: differentiate between ondemand and conservativeSébastien Luttringer1
In cpufreq widget, governor char is the same for ondemand and conservative which makes it impossible to overload symbols to different values for these two governors in a format function. Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2011-12-10README: update wtype argument explanationAdrian C. (anrxc)1
Many users miss the fact they can register their functions as widget types. Documentation for wtype being incomplete wasn't helping.
2011-11-20bat: fix time calculation, bug introduced in 350e924Adrian C. (anrxc)1
2011-11-19thermal: remove unnecessary readJ. Thalheim1