Commit Graph

26 Commits

Author SHA1 Message Date
Jörg Thalheim 080e28504a Merge branch 'master' of http://git.sysphere.org/vicious 2015-07-26 08:38:41 +02:00
Jörg Thalheim 336ce9bbd7 shell escape variables before passing them to the shell
Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2014-11-15 22:03:12 +01:00
Jörg Thalheim 01893953a6 Merge branch 'master' of http://git.sysphere.org/vicious 2012-06-25 20:53:19 +02:00
Adrian C. (anrxc) 1a7b43068c contrib: initialization bugfix after lua52 port
The _NAME field was missing in the contrib table. Thanks to Jorg
Thalheim for reporting this.
2012-06-25 00:15:51 +02:00
Arvydas Sidorenko b6b5290093 Ported vicious module to lua 5.2
Signed-off-by: Arvydas Sidorenko <asido4@gmail.com>
Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
2012-06-18 01:26:24 +02:00
Joerg T. (Mic92) dcc2b60cd8 vicious: load widget modules only when needed
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-05-10 00:50:41 +02:00
Adrian C. (anrxc) d38584386d helpers: properly handle magic characters 2011-02-15 05:47:21 +01:00
Adrian C. (anrxc) 49b1b0972f helpers: index subdirectories in pathtotable() 2010-03-15 03:02:50 +01:00
Adrian C. (anrxc) ad14818d4e helpers: import capitalize
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-03-06 03:11:54 +01:00
Adrian C. (anrxc) b96cb98352 bat: added a note about Apple PMU and ACPI/procfs 2010-02-20 04:33:27 +01:00
Adrian C. (anrxc) e29ea6288a helpers: uformat helper replaces formatting done by widgets 2010-02-20 03:24:42 +01:00
Adrian C. (anrxc) 15dd6ea287 vicious: update copyright 2010-01-02 21:21:54 +01:00
Adrian C. (anrxc) 76942d17a4 helpers: simplify pathtotable, patch by filmor 2009-11-11 14:30:26 +01:00
Adrian C. (anrxc) 46d52face8 helpers: import pathtotable
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-11 02:43:11 +01:00
Adrian C. (anrxc) 896df4dd98 De-obfuscate e-mail address 2009-11-04 23:39:38 +01:00
Adrian C. (anrxc) 589feb1ce9 helpers: import scroll from Remy Clouard
First scroll helper, that provides an alternative to truncate. Text
shifts every time the widget is updated, there is no internal timer.
2009-11-03 01:09:46 +01:00
Adrian C. (anrxc) b0f737ea56 Rewrote all headers 2009-09-29 22:33:19 +02:00
Adrian C. (anrxc) c9fba4e0d2 Widgets derived from wicked include a notice 2009-09-20 23:16:10 +02:00
Adrian C. (anrxc) 9f75b0dc9d Spurious folds removed from helpers. 2009-08-07 23:23:07 +02:00
Adrian C. (anrxc) 41d4acb7a2 Truncate helper, txtlen is local. 2009-08-07 23:19:50 +02:00
Adrian C. (anrxc) 44aea404c7 Remove a spurious comment from helpers.lua 2009-08-05 22:21:37 +02:00
Adrian C. (anrxc) 3c76e0ddd2 Introduced the truncate helper.
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-05 22:11:11 +02:00
Adrian C. (anrxc) 4c74de711f Padding removed, along with deprecated helper functions.
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-05 21:50:41 +02:00
Adrian C. (anrxc) 09fda0ab05 Rewrite of the escape helper.
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-08-03 04:29:06 +02:00
Adrian C. (anrxc) 19ca7b5a03 Replaced TODO with Todo in helpers. 2009-07-29 23:40:50 +02:00
Adrian C. (anrxc) 98e26ee043 Import of vicious source tree.
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
2009-07-29 17:59:32 +02:00