feat(profile): add support for plasma 6.

This commit is contained in:
Alexandre Pujol 2024-03-08 15:22:15 +00:00
parent 3d425c7fdd
commit 4ab5e99a6f
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
38 changed files with 141 additions and 120 deletions

View file

@ -9,10 +9,9 @@ include <tunables/global>
@{exec_path} = @{lib}/xdg-desktop-portal-kde
profile xdg-desktop-portal-kde @{exec_path} {
include <abstractions/base>
include <abstractions/freedesktop.org>
include <abstractions/kde-strict>
include <abstractions/graphics>
include <abstractions/nameservice-strict>
include <abstractions/qt5>
network inet dgram,
network inet6 dgram,
@ -24,29 +23,13 @@ profile xdg-desktop-portal-kde @{exec_path} {
@{exec_path} mr,
/usr/share/hwdata/pnp.ids r,
/usr/share/icu/@{int}.@{int}/*.dat r,
/usr/share/qt5/qtlogging.ini r,
/etc/xdg/kdeglobals r,
/etc/xdg/kwinrc r,
owner @{HOME}/.Xauthority r,
owner @{user_cache_dirs}/*.kcache r,
owner @{user_cache_dirs}/icon-cache.kcache rw,
owner @{user_config_dirs}/autostart/org.kde.*.desktop r,
owner @{user_config_dirs}/kdedefaults/kdeglobals r,
owner @{user_config_dirs}/kdedefaults/kwinrc r,
owner @{user_config_dirs}/kdeglobals r,
owner @{user_config_dirs}/kwinrc r,
owner @{user_config_dirs}/xdg-desktop-portal-kderc r,
owner /tmp/xauth_@{rand6} r,
@{run}/user/@{uid}/xauth_@{rand6} rl,
@{PROC}/sys/kernel/core_pattern r,
/dev/tty r,