aboutsummaryrefslogtreecommitdiff
path: root/helpers.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>
2012-06-25contrib: initialization bugfix after lua52 portAdrian C. (anrxc)1
The _NAME field was missing in the contrib table. Thanks to Jorg Thalheim for reporting this.
2012-06-18Ported vicious module to lua 5.2Arvydas Sidorenko1
Signed-off-by: Arvydas Sidorenko <asido4@gmail.com> Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2011-05-10vicious: load widget modules only when neededJoerg T. (Mic92)1
There's no more need to edit init files and manually disable widgets. Signed-off-by: Joerg T. (Mic92) <jthalheim@gmail.com> Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2011-02-15helpers: properly handle magic charactersAdrian C. (anrxc)1
2010-03-15helpers: index subdirectories in pathtotable()Adrian C. (anrxc)1
2010-03-06helpers: import capitalizeAdrian C. (anrxc)1
This helper will capitalize the first letter of every word in a given string. It'll be useful for some widget string which look out of place otherwise, like "rain, snow" (<- where did this come from?). But it can also be useful for people that like to use this format, camel case or simillar.
2010-02-20bat: added a note about Apple PMU and ACPI/procfsAdrian C. (anrxc)1
2010-02-20helpers: uformat helper replaces formatting done by widgetsAdrian C. (anrxc)1
2010-01-02vicious: update copyrightAdrian C. (anrxc)1
2009-11-11helpers: simplify pathtotable, patch by filmorAdrian C. (anrxc)1
2009-11-11helpers: import pathtotableAdrian C. (anrxc)1
This helper exposes paths as Lua tables. It will help simplify a lot of widgets. Thanks to Benedikt Sauer for the original idea.
2009-11-04De-obfuscate e-mail addressAdrian C. (anrxc)1
2009-11-03helpers: import scroll from Remy ClouardAdrian C. (anrxc)1
First scroll helper, that provides an alternative to truncate. Text shifts every time the widget is updated, there is no internal timer.
2009-09-29Rewrote all headersAdrian C. (anrxc)1
2009-09-20Widgets derived from wicked include a noticeAdrian C. (anrxc)1
2009-08-07Spurious folds removed from helpers.Adrian C. (anrxc)1
2009-08-07Truncate helper, txtlen is local.Adrian C. (anrxc)1
2009-08-05Remove a spurious comment from helpers.luaAdrian C. (anrxc)1
2009-08-05Introduced the truncate helper.Adrian C. (anrxc)1
Function takes two arguments, the text to be truncated and the max lenght. Last three characters will be replaced by "...". Mbox and MPD widgets that previously did it them selves are now using this helper.
2009-08-05Padding removed, along with deprecated helper functions.Adrian C. (anrxc)1
If you have any use for it then continue using an older vicious tag, or keep maintaining it in your local vicious copy.
2009-08-03Rewrite of the escape helper.Adrian C. (anrxc)1
It is simillar to the awful.util.escape now, using a table which we could expand (and rename) with other unwated characters if it comes to that. I saw awesome break on many occasions because of encoding problems.
2009-07-29Replaced TODO with Todo in helpers.Adrian C. (anrxc)1
2009-07-29Import of vicious source tree.v1.0.0Adrian C. (anrxc)1
Vicious is a modular widget library for 'awesome' window manager, derived from the 'Wicked' widget library. Summary of changes: * Original wicked code modularized * Widgets ported from Wicked: - CPU, MEM, FS, NET, Date, Uptime, MPD * CPU widget rewritten, uses pattern matching * MEM widget rewritten, uses pattern matching - Swap widget merged with MEM widget type * FS widget rewritten, uses pattern matching - Also fixed padding in the process * NET widget rewritten, uses pattern matching * MPD widget rewritten, a bit more versatile * Removed deprecated helper functions * Widgets written for Vicious: - Thermal, Battery, Mbox, OrgMode, Volume, Entropy, Disk I/O, System Load, Wireless, Pacman, Maildir