Polybar: Lay groundwork for on-the-fly envvar themeing
This commit is contained in:
parent
832c52157d
commit
51dc911e7a
@ -22,9 +22,9 @@ white = #eff0f1
|
|||||||
black = #232629
|
black = #232629
|
||||||
gray = #31363b
|
gray = #31363b
|
||||||
|
|
||||||
bg = #232629
|
bg = ${env:PB_COLOR_BG:#232629}
|
||||||
fg = #eff0f1
|
fg = ${env:PB_COLOR_FG:#eff0f1}
|
||||||
border = #31363b
|
border = ${env:PB_COLOR_BORDER:#31363b}
|
||||||
selection = #1d99f3
|
selection = #1d99f3
|
||||||
|
|
||||||
[res/config]
|
[res/config]
|
||||||
@ -86,7 +86,7 @@ modules-right = wlan-desktop-stats mpd | date
|
|||||||
[module/|]
|
[module/|]
|
||||||
type = custom/text
|
type = custom/text
|
||||||
content = |
|
content = |
|
||||||
content-foreground = ${res/colors.gray}
|
content-foreground = ${res/colors.border}
|
||||||
|
|
||||||
[module/backlight]
|
[module/backlight]
|
||||||
type = internal/xbacklight
|
type = internal/xbacklight
|
||||||
@ -97,7 +97,7 @@ bar-width = ${res/config.bar-width}
|
|||||||
bar-fill = ${res/config.bar-fill}
|
bar-fill = ${res/config.bar-fill}
|
||||||
bar-fill-foreground = ${res/colors.blue}
|
bar-fill-foreground = ${res/colors.blue}
|
||||||
bar-empty = ${res/config.bar-empty}
|
bar-empty = ${res/config.bar-empty}
|
||||||
bar-empty-foreground = ${res/colors.gray}
|
bar-empty-foreground = ${res/colors.border}
|
||||||
bar-indicator = ${res/config.bar-indicator}
|
bar-indicator = ${res/config.bar-indicator}
|
||||||
|
|
||||||
[module/battery]
|
[module/battery]
|
||||||
@ -140,7 +140,7 @@ label-urgent-font = 3
|
|||||||
label-urgent-foreground = ${res/colors.bg}
|
label-urgent-foreground = ${res/colors.bg}
|
||||||
label-urgent-background = ${res/colors.yellow}
|
label-urgent-background = ${res/colors.yellow}
|
||||||
label-empty = %name%
|
label-empty = %name%
|
||||||
label-empty-foreground = ${res/colors.gray}
|
label-empty-foreground = ${res/colors.border}
|
||||||
label-empty-padding = 4
|
label-empty-padding = 4
|
||||||
|
|
||||||
[module/cpu]
|
[module/cpu]
|
||||||
@ -153,7 +153,7 @@ bar-load-width = ${res/config.bar-width}
|
|||||||
bar-load-fill = ${res/config.bar-fill}
|
bar-load-fill = ${res/config.bar-fill}
|
||||||
bar-load-fill-foreground = ${res/colors.blue}
|
bar-load-fill-foreground = ${res/colors.blue}
|
||||||
bar-load-empty = ${res/config.bar-empty}
|
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}
|
bar-load-indicator = ${res/config.bar-indicator}
|
||||||
|
|
||||||
[module/date]
|
[module/date]
|
||||||
@ -176,7 +176,7 @@ bar-used-width = ${res/config.bar-width}
|
|||||||
bar-used-fill = ${res/config.bar-fill}
|
bar-used-fill = ${res/config.bar-fill}
|
||||||
bar-used-fill-foreground = ${res/colors.yellow}
|
bar-used-fill-foreground = ${res/colors.yellow}
|
||||||
bar-used-empty = ${res/config.bar-empty}
|
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}
|
bar-used-indicator = ${res/config.bar-indicator}
|
||||||
|
|
||||||
[module/fsroot]
|
[module/fsroot]
|
||||||
@ -190,7 +190,7 @@ bar-used-width = ${res/config.bar-width}
|
|||||||
bar-used-fill = ${res/config.bar-fill}
|
bar-used-fill = ${res/config.bar-fill}
|
||||||
bar-used-fill-foreground = ${res/colors.yellow}
|
bar-used-fill-foreground = ${res/colors.yellow}
|
||||||
bar-used-empty = ${res/config.bar-empty}
|
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}
|
bar-used-indicator = ${res/config.bar-indicator}
|
||||||
|
|
||||||
[module/i3]
|
[module/i3]
|
||||||
@ -210,7 +210,7 @@ label-unfocused = %name%
|
|||||||
label-unfocused-background = ${res/colors.bg}
|
label-unfocused-background = ${res/colors.bg}
|
||||||
label-unfocused-padding = 4
|
label-unfocused-padding = 4
|
||||||
label-visible = %name%
|
label-visible = %name%
|
||||||
label-visible-background = ${res/colors.gray}
|
label-visible-background = ${res/colors.border}
|
||||||
label-visible-padding = 4
|
label-visible-padding = 4
|
||||||
|
|
||||||
[module/memory]
|
[module/memory]
|
||||||
@ -223,7 +223,7 @@ bar-used-width = ${res/config.bar-width}
|
|||||||
bar-used-fill = ${res/config.bar-fill}
|
bar-used-fill = ${res/config.bar-fill}
|
||||||
bar-used-fill-foreground = ${res/colors.magenta}
|
bar-used-fill-foreground = ${res/colors.magenta}
|
||||||
bar-used-empty = ${res/config.bar-empty}
|
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}
|
bar-used-indicator = ${res/config.bar-indicator}
|
||||||
|
|
||||||
[module/mpd]
|
[module/mpd]
|
||||||
@ -238,7 +238,7 @@ format-volume = <label-volume>
|
|||||||
format-volume-prefix = " "
|
format-volume-prefix = " "
|
||||||
format-muted = <label-muted>
|
format-muted = <label-muted>
|
||||||
format-muted-prefix = " "
|
format-muted-prefix = " "
|
||||||
format-muted-foreground = ${res/colors.gray}
|
format-muted-foreground = ${res/colors.border}
|
||||||
|
|
||||||
[module/reboot-required]
|
[module/reboot-required]
|
||||||
type = custom/script
|
type = custom/script
|
||||||
|
Loading…
Reference in New Issue
Block a user