polybar: backlight

This commit is contained in:
Michael Grote 2021-06-29 16:40:06 +02:00
parent 5baa4c102c
commit 6a171dd1c2

View file

@ -83,11 +83,11 @@ format-padding = 1
type = internal/xwindow type = internal/xwindow
label = %title:0:30:...% label = %title:0:30:...%
[module/backlight] ;[module/backlight]
type = internal/backlight ;type = internal/backlight
; Use the following command to list available cards: ; Use the following command to list available cards:
; $ ls -1 /sys/class/backlight/ ; $ ls -1 /sys/class/backlight/
card = amdgpu_bl0 ;card = amdgpu_bl0
; ;
; (unreleased) ; (unreleased)
; Use the `/sys/class/backlight/actual-brightness` file ; Use the `/sys/class/backlight/actual-brightness` file