Commit Graph

8 Commits

Author SHA1 Message Date
Adrian C. (anrxc) 0d73f6d8ae Ensure returned numbers are of type number
Thanks to Felix for bringing this to my attention. Obviously there was
already a safety net for feeding progressbars and graphs... and while
this makes for a good coding practice it's not a big deal. We have
widgets of type textbox for one, and a lot of string concatenation
happens. Strings are formatted, markup is applied...
2009-10-26 20:32:48 +01:00
Adrian C. (anrxc) 4602ca2fa5 Lots of coding style changes 2009-10-05 00:10:47 +02:00
Adrian C. (anrxc) 9d518b83a9 volume: added mute support
If a channel is muted we return 0. Something like "Muted" would be
nice, but lets not break progressbars. If it doesn't concern you, then
return what ever you want...
2009-10-02 21:48:05 +02:00
Adrian C. (anrxc) b0f737ea56 Rewrote all headers 2009-09-29 22:33:19 +02:00
Adrian C. (anrxc) 2a5126f4f0 General cleanup 2009-09-14 17:25:23 +02:00
Adrian C. (anrxc) d4595bb00f All worker functions are local. 2009-08-07 17:41:10 +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