polybar: use two levels for brightness

This commit is contained in:
Vincent Bernat 2021-08-11 18:33:20 +02:00
parent 3fdf4b65ae
commit 7f5e6e0578

View file

@ -83,8 +83,10 @@ include-file = $XDG_RUNTIME_DIR/i3/polybar-filesystems.conf
[module/brightness]
type = internal/backlight
card = intel_backlight
format = <label>
label =  %percentage: 2%%
format = <ramp> <label>
label = %percentage: 2%%
ramp-0 = 
ramp-1 = 
enable-scroll = true
[module/cpu]