Rework polybar backlight module

This commit is contained in:
Tanguy Herbron 2021-04-26 17:20:28 +02:00
parent a9997ab9dc
commit bd3f24be57

View File

@ -105,19 +105,42 @@ card = intel_backlight
; <label> (default) ; <label> (default)
; <ramp> ; <ramp>
; <bar> ; <bar>
format = <ramp> <label> format = <ramp> <bar>
; Available tokens: ; Available tokens:
; %percentage% (default) ; %percentage% (default)
label = %percentage%% label = %percentage%%
bar-format = "%fill%%indicator%%empty%"
bar-width = 10
bar-gradient = false
bar-indicator =
bar-indicator-foreground = ${color.fg}
bar-indicator-font = 4
# bar-fill = ▮
bar-fill =
bar-fill-font = 4
bar-foreground-0 = ${color.white}
bar-foreground-1 = ${color.white}
bar-foreground-2 = ${color.white}
bar-foreground-3 = ${color.white}
bar-foreground-4 = ${color.white}
# bar-empty = ▯
bar-empty =
bar-empty-font = 4
bar-empty-foreground = ${color.black}
; Only applies if <ramp> is used ; Only applies if <ramp> is used
ramp-0 = ramp-0 =
ramp-1 = ramp-1 =
ramp-2 = ramp-2 =
ramp-3 = ramp-3 =
ramp-4 = ramp-4 =
ramp-foreground = ${color.yellow}
;; Other Icons ;; Other Icons
; ;