|
NAMEwaybar - mpd moduleDESCRIPTIONThe mpd module displays information about a running "Music Player Daemon" instance.CONFIGURATIONAddressed by mpdserver:
port:
password:
interval:
timeout:
unknown-tag:
format:
format-stopped:
format-paused:
format-disconnected:
tooltip:
tooltip-format:
tooltip-format-disconnected:
artist-len: typeof: integer Maximum length of the Artist tag. album-len: typeof: integer Maximum length of the Album tag. album-artist-len: typeof: integer Maximum length of the Album Artist tag. title-len: typeof: integer Maximum length of the Title tag. rotate:
max-length:
min-length: typeof: integer The minimum length in characters the module should take up. align: typeof: float The alignment of the text, where 0 is left-aligned and 1 is right-aligned. If the module is rotated, it will follow the flow of the text. on-click:
on-click-middle:
on-click-right:
on-update:
on-scroll-up:
on-scroll-down:
smooth-scrolling-threshold:
state-icons:
consume-icons:
random-icons:
repeat-icons:
single-icons:
FORMAT REPLACEMENTSWHEN PLAYING/PAUSED{artist}: The artist of the current song{albumArtist}: The artist of the current album {album}: The album of the current song {title}: The title of the current song {date}: The date of the current song {volume}: The current volume in percent {elapsedTime}: The current position of the current song. To format as a date/time (see example configuration) {totalTime}: The length of the current song. To format as a date/time (see example configuration) {songPosition}: The position of the current song. {queueLength}: The length of the current queue. {stateIcon}: The icon corresponding the playing or paused status of the player (see state-icons option) {consumeIcon}: The icon corresponding the "consume" option (see consume-icons option) {randomIcon}: The icon corresponding the "random" option (see random-icons option) {repeatIcon}: The icon corresponding the "repeat" option (see repeat-icons option) {singleIcon}: The icon corresponding the "single" option (see single-icons option) WHEN STOPPED{consumeIcon}: The icon corresponding the "consume" option (see consume-icons option){randomIcon}: The icon corresponding the "random" option (see random-icons option) {repeatIcon}: The icon corresponding the "repeat" option (see repeat-icons option) {singleIcon}: The icon corresponding the "single" option (see single-icons option) WHEN DISCONNECTEDCurrently, no format replacements when disconnected.EXAMPLES"mpd": { "format": "{stateIcon} {consumeIcon}{randomIcon}{repeatIcon}{singleIcon}{artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) ", "format-disconnected": "Disconnected ", "format-stopped": "{consumeIcon}{randomIcon}{repeatIcon}{singleIcon}Stopped ", "interval": 2, "consume-icons": { "on": " " // Icon shows only when "consume" is on }, "random-icons": { "off": "<span color="#f53c3c"></span> ", // Icon grayed out when "random" is off "on": " " }, "repeat-icons": { "on": " " }, "single-icons": { "on": "1 " }, "state-icons": { "paused": "", "playing": "" }, "tooltip-format": "MPD (connected)", "tooltip-format-disconnected": "MPD (disconnected)" } STYLE•#mpd
•#mpd.disconnected
•#mpd.stopped
•#mpd.playing
•#mpd.paused
Visit the GSP FreeBSD Man Page Interface. |