X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/4fd9ef1d072166be3951f87451713d17a815c28c..e5e479ac7190ccb12c6d67e785c86579f7a0faeb:/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"