polybar: add mpd module
This commit is contained in:
@ -32,7 +32,7 @@ font-0 = mononoki-12;1
|
|||||||
|
|
||||||
modules-left = ewmh
|
modules-left = ewmh
|
||||||
modules-center = date
|
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-click = pointer
|
||||||
cursor-scroll = ns-resize
|
cursor-scroll = ns-resize
|
||||||
@ -137,6 +137,15 @@ date-alt = %Y-%m-%d %H:%M:%S
|
|||||||
label = %date%
|
label = %date%
|
||||||
label-foreground = ${colors.foreground}
|
label-foreground = ${colors.foreground}
|
||||||
|
|
||||||
|
[module/mpd]
|
||||||
|
type = internal/mpd
|
||||||
|
|
||||||
|
host = 127.0.0.1
|
||||||
|
port = 6600
|
||||||
|
interval = 2
|
||||||
|
|
||||||
|
label-song = %title%
|
||||||
|
|
||||||
[settings]
|
[settings]
|
||||||
screenchange-reload = true
|
screenchange-reload = true
|
||||||
pseudo-transparency = false
|
pseudo-transparency = false
|
||||||
|
|||||||
Reference in New Issue
Block a user