# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2023-2024 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only

  dbus send bus=session path=/StatusNotifierWatcher
       interface=org.freedesktop.DBus.Properties
       member=Get
       peer=(name=org.kde.StatusNotifierWatcher, label=gnome-shell),

  dbus send bus=session path=/StatusNotifierWatcher
       interface=org.kde.StatusNotifierWatcher
       member=RegisterStatusNotifierItem
       peer=(name="{:*,org.kde.StatusNotifierWatcher}", label=gnome-shell),

  dbus send bus=session path=/StatusNotifierWatcher
       interface=org.freedesktop.DBus.Introspectable
       member=Introspect
       peer=(name=org.kde.StatusNotifierWatcher, label=gnome-shell),

  include if exists <abstractions/bus/org.kde.StatusNotifierWatcher.d>
