Polybar: Cleanup

This commit is contained in:
Salt 2018-08-11 15:40:17 -05:00
parent 9722c26256
commit a5db77f253

View File

@ -88,17 +88,15 @@ inherit = template/bar
tray-detached = true
tray-position = center
modules-left = ${env:PB_BAR_PRIMARY_MODULES_LEFT:battery cpu memory}
modules-left = ${env:PB_BAR_PRIMARY_MODULES_LEFT:cpu memory}
modules-center = ${env:PB_BAR_PRIMARY_MODULES_CENTER: }
modules-right = ${env:PB_BAR_PRIMARY_MODULES_RIGHT:xbacklight volume | dropbox date}
modules-right = ${env:PB_BAR_PRIMARY_MODULES_RIGHT:volume battery | dropbox date}
[bar/primary-2]
monitor = ${env:PB_MONITOR:eDP-1}
inherit = template/bar
bottom = false
border-bottom-size =
border-top-size = 0
modules-left = ${env:PB_BAR_PRIMARY_2_MODULES_LEFT:bspwm}
modules-center = ${env:PB_BAR_PRIMARY_2_MODULES_CENTER:xwindow}
@ -117,8 +115,6 @@ monitor = ${env:PB_MONITOR}
inherit = template/bar
bottom = false
border-bottom-size = 4
border-top-size = 0
modules-left = ${env:PB_BAR_SECONDARY_2_MODULES_LEFT:bspwm}
modules-center = ${env:PB_BAR_SECONDARY_2_MODULES_CENTER:xwindow}
@ -359,12 +355,20 @@ label-disconnected-foreground = ${res/colors.foreground-dark}
[module/xbacklight]
type = internal/xbacklight
format = <label>
format = <bar> <label>
format-prefix = "Light: "
format-prefix-foreground = ${res/colors.icon-xbacklight}
label = %percentage%%
bar-width = ${res/config.bar-width}
bar-fill = ${res/config.bar-fill}
bar-fill-foreground = ${res/colors.icon-xbacklight}
bar-empty = ${self.bar-fill}
bar-empty-foreground = ${res/colors.bar-empty}
bar-indicator = ${res/config.bar-indicator}
bar-indicator-foreground = ${res/colors.background-alt}
[module/xwindow]
type = internal/xwindow
format = <label>