Commit Graph

12 Commits

Author SHA1 Message Date
Adrian C. (anrxc) 896df4dd98 De-obfuscate e-mail address 2009-11-04 23:39:38 +01:00
Adrian C. (anrxc) 5ff8927b4b mpd: add scrolling support and truncate control
Widget takes an optional argument that controls truncate and
scrolling. In case of a number truncate is used, it represents the
maximum lenght of widget text. In case of a table scrolling is used,
1st field is maximum lenght, and 2nd is widget name. An example:
{24, "mpdwidget"}
2009-11-03 01:19:37 +01:00
Adrian C. (anrxc) 4602ca2fa5 Lots of coding style changes 2009-10-05 00:10:47 +02:00
Adrian C. (anrxc) 724366c038 Reworked some variables in entropy, load, mpd, net, init 2009-10-04 00:21:15 +02: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) 2a5126f4f0 General cleanup 2009-09-14 17:25:23 +02:00
Adrian C. (anrxc) 0067dca898 Removed emtpy lines from mpd.lua 2009-08-21 17:16:50 +02:00
Adrian C. (anrxc) d4595bb00f All worker functions are local. 2009-08-07 17:41:10 +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) 418151f57e Make all widgets return their worker functions when called. 2009-08-01 23:11:41 +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