feat: support for gnome 42.

This commit is contained in:
Alexandre Pujol 2022-04-13 20:47:28 +01:00
parent 57df9ee898
commit ef9c451559
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
13 changed files with 71 additions and 57 deletions

View file

@ -9,7 +9,9 @@ include <tunables/global>
@{exec_path} = /{usr/,}lib/gnome-calculator-search-provider
profile gnome-calculator-search-provider @{exec_path} {
include <abstractions/base>
include <abstractions/dconf>
include <abstractions/gtk>
include <abstractions/fonts>
signal (send) set=kill peer=unconfined,
@ -19,14 +21,13 @@ profile gnome-calculator-search-provider @{exec_path} {
/usr/share/glib-2.0/schemas/gschemas.compiled r,
/usr/share/X11/xkb/{,**} r,
/usr/share/icons/{,**} r,
include <abstractions/dconf>
owner @{run}/user/@{uid}/dconf/ rw,
owner @{run}/user/@{uid}/dconf/user rw,
owner @{run}/user/@{uid}/gdm/Xauthority r,
owner @{PROC}/@{pid}/fd/ r,
owner @{run}/user/@{uid}/gdm/Xauthority r,
owner @{PROC}/@{pids}/cmdline r,
include if exists <local/gnome-calculator-search-provider>
}