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

abi <abi/4.0>,

include <tunables/global>

@{exec_path} = @{bin}/kde-systemd-start-condition
profile kde-systemd-start-condition @{exec_path} {
  include <abstractions/base>
  include <abstractions/kde-strict>

  @{exec_path} mr,

  owner @{user_config_dirs}/kalendaracrc r,
  owner @{user_config_dirs}/kgpgrc r,
  owner @{user_config_dirs}/kmixrc r,
  owner @{user_config_dirs}/konquerorrc r,
  owner @{user_config_dirs}/plasma-welcomerc r,

  include if exists <local/kde-systemd-start-condition>
}

# vim:syntax=apparmor
