feat(profile): minor improvment for kde.

This commit is contained in:
Alexandre Pujol 2024-02-11 12:45:35 +00:00
parent 04683eeccb
commit 9cbeb127a3
Failed to generate hash of commit
4 changed files with 10 additions and 1 deletions

View file

@ -20,7 +20,12 @@ profile kauth-backlighthelper @{exec_path} {
@{sys}/class/backlight/ r, @{sys}/class/backlight/ r,
@{sys}/class/leds/ r, @{sys}/class/leds/ r,
@{sys}/devices/@{pci}/backlight/**/{max_brightness,actual_brightness} r,
@{sys}/devices/@{pci}/backlight/**/{uevent,type} r,
@{sys}/devices/@{pci}/backlight/**/brightness rw, @{sys}/devices/@{pci}/backlight/**/brightness rw,
@{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,
/dev/tty r, /dev/tty r,

View file

@ -16,6 +16,8 @@ profile kauth-chargethresholdhelper @{exec_path} {
/usr/share/icu/@{int}.@{int}/*.dat r, /usr/share/icu/@{int}.@{int}/*.dat r,
@{sys}/class/power_supply/ r, @{sys}/class/power_supply/ r,
@{sys}/devices/@{pci}/power_supply/** r,
@{sys}/devices/**/power_supply/** r,
include if exists <local/kauth-chargethresholdhelper> include if exists <local/kauth-chargethresholdhelper>
} }

View file

@ -61,6 +61,8 @@ profile kded5 @{exec_path} {
@{user_cache_dirs}/ksycoca5_* rwlk -> @{user_cache_dirs}/#@{int}, @{user_cache_dirs}/ksycoca5_* rwlk -> @{user_cache_dirs}/#@{int},
owner @{user_cache_dirs}/#@{int} rw, owner @{user_cache_dirs}/#@{int} rw,
owner @{user_cache_dirs}/icon-cache.kcache rw, owner @{user_cache_dirs}/icon-cache.kcache rw,
owner @{user_cache_dirs}/plasmashell/ rw,
owner @{user_cache_dirs}/plasmashell/** rwlk -> @{user_cache_dirs}/plasmashell/**,
@{user_config_dirs}/kcookiejarrc.lock rwk, @{user_config_dirs}/kcookiejarrc.lock rwk,
@{user_config_dirs}/kcookiejarrc{,.@{rand6}} rwl -> @{user_config_dirs}/#@{int}, @{user_config_dirs}/kcookiejarrc{,.@{rand6}} rwl -> @{user_config_dirs}/#@{int},

View file

@ -88,7 +88,7 @@ profile kwin_wayland @{exec_path} flags=(attach_disconnected mediate_deleted) {
owner @{user_config_dirs}/kwinrulesrc r, owner @{user_config_dirs}/kwinrulesrc r,
owner @{user_config_dirs}/kxkbrc r, owner @{user_config_dirs}/kxkbrc r,
owner @{user_config_dirs}/menus/{,applications-merged/} r, owner @{user_config_dirs}/menus/{,applications-merged/} r,
# owner @{user_config_dirs}/session/* r, owner @{user_config_dirs}/session/* r,
owner @{user_share_dirs}/kscreen/* r, owner @{user_share_dirs}/kscreen/* r,
owner @{user_share_dirs}/kwin/scripts/{,**} r, owner @{user_share_dirs}/kwin/scripts/{,**} r,