General update

Signed-off-by: Jeroen Rijken <jeroen.rijken@xs4all.nl>
This commit is contained in:
Jeroen Rijken 2024-02-11 15:37:24 +01:00 committed by Alex
parent 40b171ee94
commit 4c5a21145a
26 changed files with 227 additions and 15 deletions

View file

@ -9,6 +9,8 @@ include <tunables/global>
@{exec_path} = @{lib}/kauth/{,libexec/}backlighthelper
profile kauth-backlighthelper @{exec_path} {
include <abstractions/base>
include <abstractions/bus-system>
include <abstractions/bus/org.freedesktop.PolicyKit1>
include <abstractions/nameservice-strict>
include <abstractions/qt5>
@ -26,8 +28,10 @@ profile kauth-backlighthelper @{exec_path} {
@{sys}/devices/@{pci}/drm/card@{int}/**/{max_brightness,actual_brightness} r,
@{sys}/devices/@{pci}/drm/card@{int}/**/{uevent,type,enabled} r,
@{sys}/devices/@{pci}/drm/card@{int}/**/brightness rw,
@{sys}/devices/@{pci}/intel_backlight/{max_,}brightness rw,
@{sys}/devices/@{pci}/intel_backlight/type r,
/dev/tty r,
include if exists <local/kauth-backlighthelper>
}
}