chore: minor guideline cosmetic.

This commit is contained in:
Alexandre Pujol 2024-09-06 21:47:24 +01:00
parent edfa690e2b
commit f91fc28711
No known key found for this signature in database
GPG Key ID: C5469996F0DF68EC
2 changed files with 9 additions and 11 deletions

View File

@ -6,16 +6,13 @@
owner @{user_share_dirs}/sddm/wayland-session.log w,
owner @{run}/user/@{uid}/.hyprpaper_* rw,
owner @{run}/user/@{uid}/.hyprpicker_* rw,
owner @{run}/user/@{uid}/wayland-@{int}.lock rwk,
owner @{run}/user/@{uid}/wayland-proxy-@{int} rw,
owner /tmp/.X@{int}-lock w,
owner /dev/shm/@{uuid} rw,
owner /dev/shm/dunst-@{rand6} rw,
owner /dev/shm/grim-@{rand6} rw,
owner /dev/shm/sway* rw,
owner /dev/shm/dunst-@{rand6} rw,
owner /dev/shm/@{uuid} rw,
owner /dev/shm/wlroots-@{rand6} rw,
# vim:syntax=apparmor

View File

@ -15,23 +15,24 @@ profile hyprland @{exec_path} flags=(attach_disconnected) {
capability sys_ptrace,
ptrace read,
network netlink raw,
signal send,
@{exec_path} mr,
ptrace read,
owner @{user_share_dirs}/hyprpm/** mr,
@{exec_path} mr,
/usr/share/hyprland/{,*} r,
/usr/share/libinput/{,*} r,
owner @{user_cache_dirs}/hyprland/{,**} rw,
owner @{user_config_dirs}/hypr/** r,
owner @{user_share_dirs}/hyprpm/** mr,
owner @{run}/user/@{uid}/gamescope-* rw,
owner @{run}/user/@{uid}/.hyprpaper_* rw,
owner @{run}/user/@{uid}/.hyprpicker_* rw,
owner @{run}/user/@{uid}/hypr/{,**} rw,
owner /dev/shm/.org.chromium.Chromium.@{rand6} rw,
@ -57,8 +58,8 @@ profile hyprland @{exec_path} flags=(attach_disconnected) {
owner @{PROC}/@{pid}/environ r,
/dev/input/event@{int} rw,
/dev/tty r,
/dev/input/event@{int} rw,
/dev/tty r,
owner /dev/tty@{int} rw,
include if exists <local/hyprland>