feat(profiles): update kde integration.

See #134
This commit is contained in:
Alexandre Pujol 2023-04-24 18:56:28 +01:00
parent 52d49fa3ec
commit 7ddba7230d
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
15 changed files with 89 additions and 19 deletions

View file

@ -10,10 +10,13 @@ include <tunables/global>
profile kwin_x11 @{exec_path} {
include <abstractions/base>
include <abstractions/dri-common>
include <abstractions/dri-enumerate>
include <abstractions/fonts>
include <abstractions/freedesktop.org>
include <abstractions/mesa>
include <abstractions/nameservice-strict>
include <abstractions/qt5>
include <abstractions/vulkan>
network inet dgram,
network inet6 dgram,
@ -24,12 +27,16 @@ profile kwin_x11 @{exec_path} {
/{usr/,}lib/kwin_killer_helper rix,
/usr/share/hwdata/pnp.ids r,
/usr/share/icu/[0-9]*.[0-9]*/*.dat r,
/usr/share/kwin/{,**} r,
/usr/share/X11/xkb/{,**} r,
/usr/share/plasma/desktoptheme/{,**} r,
/usr/share/qt/translations/*.qm r,
/usr/share/X11/xkb/{,**} r,
/etc/machine-id r,
/etc/xdg/kcminputrc r,
/etc/xdg/kdeglobals r,
/etc/xdg/kwinrc r,
/etc/xdg/plasmarc r,
owner @{HOME}/.Xauthority r,
@ -37,7 +44,8 @@ profile kwin_x11 @{exec_path} {
owner @{user_cache_dirs}/#[0-9]* rw,
owner @{user_cache_dirs}/icon-cache.kcache rw,
owner @{user_cache_dirs}/kwin/{,**} rwl,
owner @{user_cache_dirs}/plasma_theme_default_*.kcache rw,
owner @{user_cache_dirs}/plasmarc r,
owner @{user_cache_dirs}/plasma_theme_*.kcache rw,
owner @{user_cache_dirs}/plasma-svgelements.lock rwk,
owner @{user_cache_dirs}/plasma-svgelements{,.??????} rwl,
owner @{user_cache_dirs}/qtshadercache-*/@{hex} r,
@ -53,6 +61,8 @@ profile kwin_x11 @{exec_path} {
owner @{user_config_dirs}/kxkbrc r,
owner @{user_config_dirs}/session/kwin_* rwk,
@{run}/user/@{uid}/xauth_* rl,
@{PROC}/sys/kernel/core_pattern r,
/dev/tty r,