Create lxqt-config-brightness
This commit is contained in:
parent
3dc8bd98a7
commit
f585e47ab3
1 changed files with 40 additions and 0 deletions
40
apparmor.d/groups/lxqt/lxqt-config-brightness
Normal file
40
apparmor.d/groups/lxqt/lxqt-config-brightness
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2024 Alexandre Pujol <alexandre@pujol.io>
|
||||
# Copyright (C) 2024 Besanon <m231009ts@mailfence.com>
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = @{bin}/lxqt-config-brightness
|
||||
profile lxqt-config-brightness @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/gtk>
|
||||
include <abstractions/video>
|
||||
include <abstractions/lxqt>
|
||||
include <abstractions/qt5-shader-cache>
|
||||
include <abstractions/bus-accessibility>
|
||||
include <abstractions/bus-session>
|
||||
include <abstractions/gvfs-open>
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
@{bin}/pkexec rpx,
|
||||
|
||||
@{sh_path} rix,
|
||||
|
||||
owner @{HOME}/ r,
|
||||
|
||||
owner /tmp/{,**} r,
|
||||
|
||||
@{sys}/class/backlight/ r,
|
||||
@{sys}/devices/@{pci_bus}/**/**/drm/card@{int}/card@{int}-eDP-@{int}/amdgpu_bl@{int}/* rw,
|
||||
@{sys}/devices/@{pci_bus}/**/drm/card@{int}/card@{int}-eDP-@{int}/intel_backlight/* rw,
|
||||
|
||||
/dev/tty rw,
|
||||
|
||||
include if exists <local/lxqt-config-brightness>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
Loading…
Add table
Add a link
Reference in a new issue