From d8c31463e2a5790c13297f7cf3796f45211cbf6c Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Fri, 2 Jan 2026 15:28:27 +0530 Subject: added mpd module to polybar --- .config/polybar/modules.ini | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to '.config/polybar/modules.ini') diff --git a/.config/polybar/modules.ini b/.config/polybar/modules.ini index 57b35cf..6e61e64 100644 --- a/.config/polybar/modules.ini +++ b/.config/polybar/modules.ini @@ -16,6 +16,26 @@ label = " %title:0:60:...%" label-foreground = ${colors.xwindow-fg} label-background = ${colors.xwindow-bg} +[module/mpd] +type = internal/mpd + +host = 127.0.0.1 +port = 6600 + +format-paused = %{T3}  %{T-} +format-paused-background = ${colors.mpd-bg} +format-paused-foreground = ${colors.mpd-fg} + +format-stopped = %{T3}  %{T-} +format-stopped-background = ${colors.mpd-bg} +format-stopped-foreground = ${colors.mpd-fg} + +format-playing = %{T3}  %{T-} +format-playing-background = ${colors.mpd-bg} +format-playing-foreground = ${colors.mpd-fg} + +label-time = "%elapsed% / %total% " + [module/storage-root] type = internal/fs interval = 25 -- cgit v1.2.3