aboutsummaryrefslogtreecommitdiffstats
path: root/.config/polybar/modules.ini
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.com>2026-01-02 15:28:27 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.com>2026-01-02 15:28:27 +0530
commitd8c31463e2a5790c13297f7cf3796f45211cbf6c (patch)
tree05676ee04c1e6c8643ba80a30db8ef8b17ef1119 /.config/polybar/modules.ini
parentaa2af37f3fb19c72fadb6f3d3aaea4423c299344 (diff)
added mpd module to polybarHEADmaster
Diffstat (limited to '.config/polybar/modules.ini')
-rw-r--r--.config/polybar/modules.ini20
1 files changed, 20 insertions, 0 deletions
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-} <label-time>
+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-}<label-time>
+format-playing-background = ${colors.mpd-bg}
+format-playing-foreground = ${colors.mpd-fg}
+
+label-time = "%elapsed% / %total% "
+
[module/storage-root]
type = internal/fs
interval = 25