![]() |
![]()
| ![]() |
![]()
NAMEwaybar - mpd module DESCRIPTIONThe mpd module displays information about a running "Music Player Daemon" instance. CONFIGURATIONAddressed by mpd server:
port:
password:
interval:
timeout:
unknown-tag:
format:
format-stopped:
format-paused:
format-disconnected:
tooltip:
tooltip-format:
tooltip-format-disconnected:
artist-len:
album-len:
album-artist-len:
title-len:
rotate:
max-length:
min-length:
align:
justify:
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:
menu:
menu-file:
GtkMenu with id menu
menu-actions:
expand:
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 to 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
|