X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/e9eb20ed177b799a1cf353e0180c835a396c9be2..9eb1daba9889c2bce76bdf3d88a4595f4ad27771:/mpd.md?ds=sidebyside diff --git a/mpd.md b/mpd.md index 17acab8..27f3faf 100644 --- a/mpd.md +++ b/mpd.md @@ -1,4 +1,6 @@ -Shows mpd status in a textbox. +[<- widgets](https://github.com/copycat-killer/lain/wiki/Widgets) + +Shows MPD status in a textbox. mympd = lain.widgets.mpd() @@ -20,9 +22,9 @@ The function takes a table as optional argument, which can contain: Variable | Meaning | Type | Default --- | --- | --- | --- -`password` | Mpd password | string | "" -`host` | Mpd server | string | "127.0.0.1" -`port` | Mpd port | string | "6600" +`password` | MPD password | string | "" +`host` | MPD server | string | "127.0.0.1" +`port` | MPD port | string | "6600" `music_dir` | Music directory | string | "~/Music" `refresh_timeout` | Refresh timeout seconds | int | 1 `color_artist` | Artist value color | string | `beautiful.fg_normal` or "#FFFFFF"