README: document new truncate and scroll usage

This commit is contained in:
Adrian C. (anrxc) 2009-11-11 04:36:30 +01:00
parent d0aa48afb8
commit 2e9b811770
1 changed files with 9 additions and 1 deletions

10
README
View File

@ -207,7 +207,9 @@ vicious.widgets.wifi
vicious.widgets.mbox vicious.widgets.mbox
- provides the subject of last e-mail in a mbox file - provides the subject of last e-mail in a mbox file
- takes the full path to the mbox as an argument - takes the full path to the mbox as an argument, or a table with
1st field as path, 2nd as maximum lenght and 3rd (optional) as
widget name - if 3rd field is present scrolling will be used
- returns 1st value as the subject of the last e-mail - returns 1st value as the subject of the last e-mail
vicious.widgets.mboxc vicious.widgets.mboxc
@ -225,6 +227,9 @@ vicious.widgets.mdir
vicious.widgets.gmail vicious.widgets.gmail
- provides count of new and subject of last e-mail on Gmail - provides count of new and subject of last e-mail on Gmail
- takes an (optional) argument, if it's a number subject will be
truncated, if a table, with 1st field as maximum lenght and 2nd
the widget name (i.e. "gmailwidget"), scrolling will be used
- returns a table with custom keys: {count} and {subject} - returns a table with custom keys: {count} and {subject}
vicious.widgets.entropy vicious.widgets.entropy
@ -246,6 +251,9 @@ vicious.widgets.pacman
vicious.widgets.mpd vicious.widgets.mpd
- provides the currently playing song in MPD - provides the currently playing song in MPD
- takes an (optional) argument, if it's a number song name will be
truncated, if a table, with 1st field as maximum lenght and 2nd
the widget name (i.e. "mpdwidget"), scrolling will be used
- returns 1st value as the currently playing song - returns 1st value as the currently playing song
vicious.widgets.volume vicious.widgets.volume