Man page - yambar-modules-mpd(5)
Packages contas this manual
- yambar-modules-alsa(5)
- yambar-decorations(5)
- yambar-modules-pipewire(5)
- yambar-modules-network(5)
- yambar-modules-battery(5)
- yambar-modules-mem(5)
- yambar-modules-xkb(5)
- yambar-modules-i3(5)
- yambar-modules-script(5)
- yambar-modules-label(5)
- yambar-modules(5)
- yambar-modules-dwl(5)
- yambar-modules-sway-xkb(5)
- yambar-modules-removables(5)
- yambar-particles(5)
- yambar(5)
- yambar-tags(5)
- yambar-modules-cpu(5)
- yambar-modules-river(5)
- yambar-modules-sway(5)
- yambar-modules-clock(5)
- yambar-modules-backlight(5)
- yambar-modules-pulse(5)
- yambar-modules-foreign-toplevel(5)
- yambar(1)
- yambar-modules-mpd(5)
- yambar-modules-disk-io(5)
Package: yambar
apt-get install yambar
apt-get install yambar
Manuals in package:
Documentations in package:
Manual
| yambar-modules-mpd(5) | File Formats Manual | yambar-modules-mpd(5) |
NAME
mpd - This module provides MPD status such as currently playing artist/album/song
TAGS
| Name | Type | Description |
| state | string | One of offline, stopped, paused or playing |
| repeat | bool | True if the repeat flag is set |
| random | bool | True if the random flag is set |
| consume | bool | True if the consume flag is set |
| volume | range | Volume of MPD in percentage |
| album | string | Currently playing album (also valid in paused state) |
| artist | string | Artist of currently playing song (also valid in paused state) |
| title | string | Title of currently playing song (also valid in paused state) |
| file | string | Filename or URL of currently playing song (also valid in paused state) |
| pos | string | %M:%S-formatted string describing the song's current position (also see elapsed) |
| end | string | %M:%S-formatted string describing the song's total length (also see duration) |
| elapsed | realtime | Position in currently playing song, in milliseconds. Can be used with a progress-bar particle. |
| duration | int | Length of currently playing song, in milliseconds |
CONFIGURATION
| Name | Type | Req | Description |
| host | string | yes | Hostname/IP/unix-socket to connect to |
| port | int | no | TCP port to connect to |
EXAMPLES
bar:
left:
- mpd:
host: /run/mpd/socket
content:
string: {text: "{artist} - {album} - {title} ({end})"}
SEE ALSO
yambar-modules(5), yambar-particles(5), yambar-tags(5), yambar-decorations(5)
| 2024-04-20 |