Polybar: Cleanup
This commit is contained in:
parent
9722c26256
commit
a5db77f253
@ -88,17 +88,15 @@ inherit = template/bar
|
|||||||
tray-detached = true
|
tray-detached = true
|
||||||
tray-position = center
|
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-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]
|
[bar/primary-2]
|
||||||
monitor = ${env:PB_MONITOR:eDP-1}
|
monitor = ${env:PB_MONITOR:eDP-1}
|
||||||
inherit = template/bar
|
inherit = template/bar
|
||||||
|
|
||||||
bottom = false
|
bottom = false
|
||||||
border-bottom-size =
|
|
||||||
border-top-size = 0
|
|
||||||
|
|
||||||
modules-left = ${env:PB_BAR_PRIMARY_2_MODULES_LEFT:bspwm}
|
modules-left = ${env:PB_BAR_PRIMARY_2_MODULES_LEFT:bspwm}
|
||||||
modules-center = ${env:PB_BAR_PRIMARY_2_MODULES_CENTER:xwindow}
|
modules-center = ${env:PB_BAR_PRIMARY_2_MODULES_CENTER:xwindow}
|
||||||
@ -117,8 +115,6 @@ monitor = ${env:PB_MONITOR}
|
|||||||
inherit = template/bar
|
inherit = template/bar
|
||||||
|
|
||||||
bottom = false
|
bottom = false
|
||||||
border-bottom-size = 4
|
|
||||||
border-top-size = 0
|
|
||||||
|
|
||||||
modules-left = ${env:PB_BAR_SECONDARY_2_MODULES_LEFT:bspwm}
|
modules-left = ${env:PB_BAR_SECONDARY_2_MODULES_LEFT:bspwm}
|
||||||
modules-center = ${env:PB_BAR_SECONDARY_2_MODULES_CENTER:xwindow}
|
modules-center = ${env:PB_BAR_SECONDARY_2_MODULES_CENTER:xwindow}
|
||||||
@ -359,12 +355,20 @@ label-disconnected-foreground = ${res/colors.foreground-dark}
|
|||||||
|
|
||||||
[module/xbacklight]
|
[module/xbacklight]
|
||||||
type = internal/xbacklight
|
type = internal/xbacklight
|
||||||
format = <label>
|
format = <bar> <label>
|
||||||
format-prefix = "Light: "
|
format-prefix = "Light: "
|
||||||
format-prefix-foreground = ${res/colors.icon-xbacklight}
|
format-prefix-foreground = ${res/colors.icon-xbacklight}
|
||||||
|
|
||||||
label = %percentage%%
|
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]
|
[module/xwindow]
|
||||||
type = internal/xwindow
|
type = internal/xwindow
|
||||||
format = <label>
|
format = <label>
|
||||||
|
Loading…
Reference in New Issue
Block a user