# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2024 odomingao
# SPDX-License-Identifier: GPL-2.0-only

abi <abi/4.0>,

include <tunables/global>

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

  @{exec_path} mr,

  include if exists <local/hyprctl>
}

# vim:syntax=apparmor

