forked from extern/nix-config
polybar: Set foreground to background-alt by default
Since basically everything uses background-alt, it's easier to make each module inherit this property instead.
This commit is contained in:
parent
62619de372
commit
72152ad7f6
@ -21,7 +21,7 @@ monitor = VGA-1
|
|||||||
wm-restack = bspwm
|
wm-restack = bspwm
|
||||||
include-file = $HOME/.cache/polybar/config
|
include-file = $HOME/.cache/polybar/config
|
||||||
|
|
||||||
foreground = ${color.text}
|
foreground = ${color.background-alt}
|
||||||
background = ${color.background}
|
background = ${color.background}
|
||||||
border-color = ${color.text}
|
border-color = ${color.text}
|
||||||
|
|
||||||
@ -50,9 +50,6 @@ label-private-padding = 1
|
|||||||
label-sticky-padding = 1
|
label-sticky-padding = 1
|
||||||
|
|
||||||
label-monocle-foreground = ${color.yellow}
|
label-monocle-foreground = ${color.yellow}
|
||||||
label-locked-foreground = ${color.background-alt}
|
|
||||||
label-private-foreground = ${color.background-alt}
|
|
||||||
label-sticky-foreground = ${color.background-alt}
|
|
||||||
|
|
||||||
label-focused-padding = 1
|
label-focused-padding = 1
|
||||||
label-urgent-padding = 1
|
label-urgent-padding = 1
|
||||||
@ -61,30 +58,24 @@ label-empty-padding = 1
|
|||||||
|
|
||||||
label-focused-foreground = ${color.text}
|
label-focused-foreground = ${color.text}
|
||||||
label-urgent-foreground = ${color.yellow}
|
label-urgent-foreground = ${color.yellow}
|
||||||
label-occupied-foreground = ${color.background-alt}
|
|
||||||
label-empty-foreground = ${color.background-alt}
|
|
||||||
|
|
||||||
[module/cpu]
|
[module/cpu]
|
||||||
type = internal/cpu
|
type = internal/cpu
|
||||||
label = %percentage%%
|
label = %percentage%%
|
||||||
format-foreground = ${color.background-alt}
|
|
||||||
|
|
||||||
[module/ram]
|
[module/ram]
|
||||||
type = internal/memory
|
type = internal/memory
|
||||||
label = %gb_used%
|
label = %gb_used%
|
||||||
format-foreground = ${color.background-alt}
|
|
||||||
|
|
||||||
[module/date]
|
[module/date]
|
||||||
type = internal/date
|
type = internal/date
|
||||||
date = %d.%m.%y
|
date = %d.%m.%y
|
||||||
#date = %B %d, %Y
|
#date = %B %d, %Y
|
||||||
#date = %A
|
#date = %A
|
||||||
format-foreground = ${color.background-alt}
|
|
||||||
|
|
||||||
[module/time]
|
[module/time]
|
||||||
type = internal/date
|
type = internal/date
|
||||||
date = %H:%M
|
date = %H:%M
|
||||||
format-foreground = ${color.background-alt}
|
|
||||||
|
|
||||||
[module/battery]
|
[module/battery]
|
||||||
type = internal/battery
|
type = internal/battery
|
||||||
@ -101,13 +92,10 @@ format-offline = No song is currently playing.
|
|||||||
label-song-maxlen = 100
|
label-song-maxlen = 100
|
||||||
label-song-ellipsis = true
|
label-song-ellipsis = true
|
||||||
format-online = <label-song>
|
format-online = <label-song>
|
||||||
format-offline-foreground = ${color.background-alt}
|
|
||||||
format-online-foreground = ${color.background-alt}
|
|
||||||
|
|
||||||
[module/volume]
|
[module/volume]
|
||||||
type = internal/alsa
|
type = internal/alsa
|
||||||
label-volume = %percentage%%
|
label-volume = %percentage%%
|
||||||
format-volume-foreground = ${color.background-alt}
|
|
||||||
|
|
||||||
[module/window]
|
[module/window]
|
||||||
type = internal/xwindow
|
type = internal/xwindow
|
||||||
|
Loading…
Reference in New Issue
Block a user