backlight: Add enable-scroll

patrick96 2020-01-15 16:31:42 +01:00
parent 32bf4b2b78
commit 618ac98209
No known key found for this signature in database
GPG Key ID: 521E5E03AEBCA1A7
1 changed files with 12 additions and 0 deletions

@ -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