Polybar: Add mini MPD module
This commit is contained in:
parent
d7a2fb5cc2
commit
4b64a712c7
@ -103,7 +103,7 @@ background = #001d2021
|
||||
|
||||
modules-left = i3 bspwm |
|
||||
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
|
||||
@ -349,6 +349,12 @@ label-time = %elapsed%/%total%
|
||||
|
||||
interval = 1
|
||||
|
||||
[module/mpd-mini]
|
||||
inherit = module/mpd
|
||||
format-online = <label-song>
|
||||
format-online-prefix = " "
|
||||
label-song = %title%
|
||||
|
||||
[module/mpd-control]
|
||||
inherit = module/mpd
|
||||
format-online = <icon-prev> <toggle> <icon-stop> <icon-next>
|
||||
|
Loading…
Reference in New Issue
Block a user