Cleaned up sample widgets in the README
This commit is contained in:
parent
44aea404c7
commit
eaf8470111
6
README
6
README
|
@ -203,7 +203,7 @@ Remember, besides creating and registering widgets you have to add them
|
|||
to a statusbar in order to display them.
|
||||
|
||||
MPD widget
|
||||
mpdwidget = widget({type = 'textbox',name = 'mpdwidget')
|
||||
mpdwidget = widget({ type = 'textbox', name = 'mpdwidget' })
|
||||
vicious.register(mpdwidget, vicious.widgets.mpd, '$1', 30)
|
||||
|
||||
- executed every 30 seconds, takes no arguments
|
||||
|
@ -238,8 +238,8 @@ Mbox widget
|
|||
argument
|
||||
|
||||
|
||||
All other widgets are used in the same manner. You can check the
|
||||
authors rc.lua as a reference:
|
||||
All other widgets are used in the same manner. You can use authors
|
||||
rc.lua as a reference:
|
||||
|
||||
http://sysphere.org/~anrxc/local/scr/dotfiles/awesomerc.lua.html
|
||||
|
||||
|
|
Loading…
Reference in New Issue