aboutsummaryrefslogtreecommitdiff
path: root/.config/polybar/config.ini
diff options
context:
space:
mode:
Diffstat (limited to '.config/polybar/config.ini')
-rw-r--r--.config/polybar/config.ini21
1 files changed, 20 insertions, 1 deletions
diff --git a/.config/polybar/config.ini b/.config/polybar/config.ini
index 749dc1a..cef5832 100644
--- a/.config/polybar/config.ini
+++ b/.config/polybar/config.ini
@@ -153,7 +153,8 @@ font-3 = fixed:pixelsize=10;1
;font-4 = unifont:fontformat=truetype:size=8:antialias=false;0
;font-5 = siji:pixelsize=10;1
-modules-left = date uptime wlan eth storage-ssd storage-hdd cpu temperature memory xwindow
+modules-left = date uptime wlan eth storage-ssd storage-hdd cpu temperature memory mpd
+modules-center = xwindow
modules-right = battery pulseaudio ewmh
override-redirect = false
@@ -409,3 +410,21 @@ label-urgent-foreground = ${colors.ws-urgent-fg}
label-urgent-background = ${colors.ws-urgent-bg}
label-urgent-underline = ${colors.ws-urgent-ul}
label-urgent-padding = 3
+
+[module/mpd]
+type = internal/mpd
+
+format-online = <label-song> <label-time>
+label-song = %title%
+
+label-song-foreground = ${colors.module-color-0}
+label-time-foreground = ${colors.module-color-0}
+
+; Host where mpd is running (either ip or domain name)
+; Can also be the full path to a unix socket where mpd is running.
+host = 127.0.0.1
+port = 6600
+
+; Seconds to sleep between progressbar/song timer sync
+; Default: 1
+interval = 1