diff --git a/apparmor.d/groups/hypr/hyprpicker b/apparmor.d/groups/hypr/hyprpicker index 3e26bdbf8..bbeb59a71 100644 --- a/apparmor.d/groups/hypr/hyprpicker +++ b/apparmor.d/groups/hypr/hyprpicker @@ -8,7 +8,7 @@ include @{exec_path} = @{bin}/hyprpicker -profile hyprpicker /{,usr/}{,s}bin/hyprpicker { +profile hyprpicker @{exec_path} { include @{exec_path} mr, @@ -16,7 +16,7 @@ profile hyprpicker /{,usr/}{,s}bin/hyprpicker { /usr/share/icons/** r, - owner @{run}/user/*/.hyprpicker* rw, + owner @{run}/user/@{uid}/.hyprpicker* rw, include if exists }