Rebase: Created version v2, removed useless commits.

This commit is contained in:
Keyitdev
2022-06-22 19:23:30 +02:00
commit 2ecbac9890
86 changed files with 7797 additions and 0 deletions
@@ -0,0 +1,47 @@
[module/backlight]
type = internal/backlight
; Use the following command to list available cards:
; $ ls -1 /sys/class/backlight/
card = amdgpu_bl0
; (unreleased)
; Use the `/sys/class/backlight/actual-brightness` file
; rather than the regular `brightness` file.
; Defaults to true unless the specified card is an amdgpu backlight.
use-actual-brightness = true
; 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
; Available tags:
; <label> (default)
; <ramp>
; <bar>
format = <ramp> <label>
; Available tokens:
; %percentage% (default)
label =%percentage%%
ramp-foreground = ${color.yellow}
format-background = ${color.background}
; Only applies if <ramp> is used
ramp-0 =
ramp-1 =
; Only applies if <bar> is used
bar-width = 10
bar-indicator = |
bar-fill =
bar-empty =