From b9a922b48a8b9fbb30beeff0b0b7612e9bb49a61 Mon Sep 17 00:00:00 2001 From: Salt Date: Wed, 23 Aug 2017 23:14:59 -0500 Subject: [PATCH] Polybar: Reorganize and rearrange MPD modules --- .config/polybar/config | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/.config/polybar/config b/.config/polybar/config index 8a59e377..0bd7612c 100644 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -72,9 +72,9 @@ tray-padding = 0 border-bottom-size = 0 border-bottom-color = ${res/colors.primary} -modules-left = i3 bspwm || wlan +modules-left = i3 bspwm || wlan || mpd mpd-control modules-center = xwindow -modules-right = temperature-ramp || cpu-label memory-label || mpd volume-ramp battery-ramp || date +modules-right = temperature-ramp || cpu-label memory-label || volume-ramp battery-ramp || date ; LOWER ;==================== @@ -458,6 +458,9 @@ icon-random =  icon-repeat =  icon-stop =  +toggle-on-foreground = ${res/colors.foreground} +toggle-off-foreground = ${res/colors.background-soft} + label-song = %title% label-song-foreground = ${res/colors.foreground} label-song-background = ${res/colors.background} @@ -485,6 +488,16 @@ bar-progress-empty-background = ${template/module/bar.bar-empty-background} interval = 1 +[module/mpd-control] +inherit = module/mpd +format-online = +label-offline = "" + +[module/mpd-control-ext] +inherit = module/mpd +format-online = +label-offline = "" + [module/temperature] inherit = template/module/temperature format =