aboutsummaryrefslogtreecommitdiff
path: root/.config/polybar
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.com>2023-11-06 00:44:47 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.com>2023-11-06 00:44:47 +0530
commit4ca410cb89d44b85bf0ac5413915e35ff460e4d2 (patch)
tree0daa79794ac6175cf47ebab19d483471315b5cd8 /.config/polybar
parent7f286b2a73f05f43f2d42b7f5be2cb7e43fd4118 (diff)
added betterlockscreen
Diffstat (limited to '.config/polybar')
-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