aboutsummaryrefslogtreecommitdiffstats
path: root/.config/polybar/modules.ini
diff options
context:
space:
mode:
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