30 lines
708 B
Text
30 lines
708 B
Text
# 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}/hyprpaper
|
|
profile hyprpaper @{exec_path} flags=(attach_disconnected) {
|
|
include <abstractions/base>
|
|
include <abstractions/nameservice-strict>
|
|
|
|
@{exec_path} mr,
|
|
|
|
/usr/share/icons/** r,
|
|
|
|
owner @{HOME}/@{XDG_WALLPAPERS_DIR}/** r,
|
|
|
|
owner @{user_config_dirs}/hypr/hyprpaper.conf r,
|
|
|
|
owner @{run}/user/@{uid}/ r,
|
|
owner @{run}/user/@{uid}/.hyprpaper* rw,
|
|
owner @{run}/user/@{uid}/hypr/*/.hyprpaper.sock w,
|
|
owner @{run}/user/@{uid}/hyprpaper.lock rw,
|
|
|
|
include if exists <local/hyprpaper>
|
|
}
|
|
|
|
# vim:syntax=apparmor
|