aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFiles
2015-07-24contrib: make pulse compatible with lua5.3HEADmastercrondog1
String.format does like converting float to hex (or int for that matter). This fixes the issue Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2015-07-24add instructions for Gmail account for vicious.widgets.gmail widgetSuseika1
Signed-off-by: J?rg Thalheim <joerg@higgsboson.tk> Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2015-03-28handle case if pacmd failsNoah Tilton1
Signed-off-by: Jörg Thalheim <joerg@higgsboson.tk> Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2015-03-28fix indentationJörg Thalheim1
Signed-off-by: Jörg Thalheim <joerg@higgsboson.tk> Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2014-12-28README: new FreeBSD code by Rudi SiegelAdrian C. (anrxc)1
I don't know for a fact there are (many) more compatible widgets than in Richard's work. I have faith there are, no offense intended.
2014-12-28new gears.timerblastmaster1
timer implementation move from c to lua. Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2014-11-19gmail: fix error when gmail.com is unreachableBenoît Zugmeyer1
ex: no internet connection Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2014-11-15shell escape variables before passing them to the shellJörg Thalheim8
Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2014-11-15gmail: fix subject when gmail feed is in one lineBenoît Zugmeyer1
For some time now, gmail feeds are in a single line. The goal of this patch is to handle both cases (single and multiline). It will find the text between title tags after the first entry tag. Since the first feed title is skiped with this regex, title regexes aren't needed anymore. Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2014-04-21fs: add FreeBSD mount point detection to regexpAndrew Merenbach1
Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2014-02-09contrib: import nvidia SMI widget typeAdrian C. (anrxc)2
Right now nvsmi is just interested in temperature information. My streaming server GPU 'fell of the bus' last night while decoding video, I suspect overheating.
2014-01-04Next release, tag 2.1.3v2.1.3Adrian C. (anrxc)1
2013-12-27bat: fix broken battery remaining time (was always N/A)Lyderic Lefever1
Bug was introduced in commit dc556e5415 and the new discharging symbol. Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2013-12-27volume: get the normalized volume like alsamixer and DE's indicatorAdam Lee1
Or the percentage value will be different from alsamixer or desktop environment's indicator, which confuses users. Quote from amixer's manpage, "Use the mapped volume for evaluating the percentage representation like alsamixer, to be more natural for human ear." ref: http://git.alsa-project.org/?p=alsa-utils.git;a=blob;f=alsamixer/volume_mapping.c Signed-off-by: Adam Lee <adam8157@gmail.com> Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
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>