Polybar: Lay groundwork for on-the-fly envvar themeing

This commit is contained in:
Salt 2020-09-23 01:47:00 -05:00
parent 832c52157d
commit 51dc911e7a

View File

@ -22,9 +22,9 @@ white = #eff0f1
black = #232629
gray = #31363b
bg = #232629
fg = #eff0f1
border = #31363b
bg = ${env:PB_COLOR_BG:#232629}
fg = ${env:PB_COLOR_FG:#eff0f1}
border = ${env:PB_COLOR_BORDER:#31363b}
selection = #1d99f3
[res/config]
@ -86,7 +86,7 @@ modules-right = wlan-desktop-stats mpd | date
[module/|]
type = custom/text
content = |
content-foreground = ${res/colors.gray}
content-foreground = ${res/colors.border}
[module/backlight]
type = internal/xbacklight
@ -97,7 +97,7 @@ bar-width = ${res/config.bar-width}
bar-fill = ${res/config.bar-fill}
bar-fill-foreground = ${res/colors.blue}
bar-empty = ${res/config.bar-empty}
bar-empty-foreground = ${res/colors.gray}
bar-empty-foreground = ${res/colors.border}
bar-indicator = ${res/config.bar-indicator}
[module/battery]
@ -140,7 +140,7 @@ label-urgent-font = 3
label-urgent-foreground = ${res/colors.bg}
label-urgent-background = ${res/colors.yellow}
label-empty = %name%
label-empty-foreground = ${res/colors.gray}
label-empty-foreground = ${res/colors.border}
label-empty-padding = 4
[module/cpu]
@ -153,7 +153,7 @@ bar-load-width = ${res/config.bar-width}
bar-load-fill = ${res/config.bar-fill}
bar-load-fill-foreground = ${res/colors.blue}
bar-load-empty = ${res/config.bar-empty}
bar-load-empty-foreground = ${res/colors.gray}
bar-load-empty-foreground = ${res/colors.border}
bar-load-indicator = ${res/config.bar-indicator}
[module/date]
@ -176,7 +176,7 @@ bar-used-width = ${res/config.bar-width}
bar-used-fill = ${res/config.bar-fill}
bar-used-fill-foreground = ${res/colors.yellow}
bar-used-empty = ${res/config.bar-empty}
bar-used-empty-foreground = ${res/colors.gray}
bar-used-empty-foreground = ${res/colors.border}
bar-used-indicator = ${res/config.bar-indicator}
[module/fsroot]
@ -190,7 +190,7 @@ bar-used-width = ${res/config.bar-width}
bar-used-fill = ${res/config.bar-fill}
bar-used-fill-foreground = ${res/colors.yellow}
bar-used-empty = ${res/config.bar-empty}
bar-used-empty-foreground = ${res/colors.gray}
bar-used-empty-foreground = ${res/colors.border}
bar-used-indicator = ${res/config.bar-indicator}
[module/i3]
@ -210,7 +210,7 @@ label-unfocused = %name%
label-unfocused-background = ${res/colors.bg}
label-unfocused-padding = 4
label-visible = %name%
label-visible-background = ${res/colors.gray}
label-visible-background = ${res/colors.border}
label-visible-padding = 4
[module/memory]
@ -223,7 +223,7 @@ bar-used-width = ${res/config.bar-width}
bar-used-fill = ${res/config.bar-fill}
bar-used-fill-foreground = ${res/colors.magenta}
bar-used-empty = ${res/config.bar-empty}
bar-used-empty-foreground = ${res/colors.gray}
bar-used-empty-foreground = ${res/colors.border}
bar-used-indicator = ${res/config.bar-indicator}
[module/mpd]
@ -238,7 +238,7 @@ format-volume = <label-volume>
format-volume-prefix = " "
format-muted = <label-muted>
format-muted-prefix = " "
format-muted-foreground = ${res/colors.gray}
format-muted-foreground = ${res/colors.border}
[module/reboot-required]
type = custom/script