polybar: add mpd module

This commit is contained in:
2024-07-27 15:56:53 +03:00
parent 12497b52f3
commit d41238d59d

View File

@ -32,7 +32,7 @@ font-0 = mononoki-12;1
modules-left = ewmh
modules-center = date
modules-right = filesystem pulseaudio xkeyboard memory cpu wlan eth
modules-right = mpd filesystem pulseaudio xkeyboard memory cpu wlan eth
cursor-click = pointer
cursor-scroll = ns-resize
@ -137,6 +137,15 @@ date-alt = %Y-%m-%d %H:%M:%S
label = %date%
label-foreground = ${colors.foreground}
[module/mpd]
type = internal/mpd
host = 127.0.0.1
port = 6600
interval = 2
label-song = %title%
[settings]
screenchange-reload = true
pseudo-transparency = false