From d41238d59dac8ef289c920ad7a2d97ae44664426 Mon Sep 17 00:00:00 2001 From: omri Date: Sat, 27 Jul 2024 15:56:53 +0300 Subject: [PATCH] polybar: add mpd module --- .config/polybar/config.ini | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.config/polybar/config.ini b/.config/polybar/config.ini index 7f0ea9b..76b5fdb 100644 --- a/.config/polybar/config.ini +++ b/.config/polybar/config.ini @@ -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