Polybar: Add mini MPD module

This commit is contained in:
Salt 2017-09-07 20:37:01 -05:00
parent d7a2fb5cc2
commit 4b64a712c7

View File

@ -103,7 +103,7 @@ background = #001d2021
modules-left = i3 bspwm | modules-left = i3 bspwm |
modules-center = xwindow-label modules-center = xwindow-label
modules-right = | temperature-label-alert wlan-network-mini volume-ramp-mini battery-ramp-mini | date-mini modules-right = | temperature-label-alert mpd-mini wlan-network-mini volume-ramp-mini battery-ramp-mini | date-mini
#======================================== #========================================
# MODULES # MODULES
@ -349,6 +349,12 @@ label-time = %elapsed%/%total%
interval = 1 interval = 1
[module/mpd-mini]
inherit = module/mpd
format-online = <label-song>
format-online-prefix = " "
label-song =  %title%
[module/mpd-control] [module/mpd-control]
inherit = module/mpd inherit = module/mpd
format-online = <icon-prev> <toggle> <icon-stop> <icon-next> format-online = <icon-prev> <toggle> <icon-stop> <icon-next>