# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2025 You <your@email>
# SPDX-License-Identifier: GPL-2.0-only

abi <abi/4.0>,

include <tunables/global>

@{exec_path} = @{bin}/start-hyprland
@{att} = ""
profile start-hyprland /{,usr/}bin/start-hyprland flags=(complain) {
  include <abstractions/base-strict>

  signal receive set=term peer=sddm,
  signal send    set=term peer=hyprland,

  @{bin}/Hyprland rpx,

  @{exec_path} mr,

  include if exists <local/start-hyprland>
}

# vim:syntax=apparmor
