mirror of https://github.com/polybar/polybar.git
backlight: Add enable-scroll
parent
32bf4b2b78
commit
618ac98209
|
@ -12,6 +12,18 @@ 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 = intel_backlight
|
card = intel_backlight
|
||||||
|
|
||||||
|
; Enable changing the backlight with the scroll wheel
|
||||||
|
; NOTE: This may require additional configuration on some systems. Polybar will
|
||||||
|
; write to `/sys/class/backlight/${self.card}/brightness` which requires polybar
|
||||||
|
; to have write access to that file.
|
||||||
|
; DO NOT RUN POLYBAR AS ROOT.
|
||||||
|
; The recommended way is to add the user to the
|
||||||
|
; `video` group and give that group write-privileges for the `brightness` file.
|
||||||
|
; See the ArchWiki for more information:
|
||||||
|
; https://wiki.archlinux.org/index.php/Backlight#ACPI
|
||||||
|
; Default: false
|
||||||
|
enable-scroll = true
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
### Additional formatting
|
### Additional formatting
|
||||||
|
|
Loading…
Reference in New Issue