Update hyprlock

This commit is contained in:
odomingao 2024-07-15 11:44:51 -03:00 committed by GitHub
parent 419ecb8b81
commit 3a37efb551
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -8,31 +8,22 @@ include <tunables/global>
@{exec_path} = @{bin}/hyprlock
profile hyprlock /{,usr/}{,s}bin/hyprlock {
profile hyprlock @{exec_path} {
include <abstractions/base>
include <abstractions/dri>
include <abstractions/authentication>
include <abstractions/fonts>
include <abstractions/mesa>
include <abstractions/graphics>
include <abstractions/nameservice-strict>
include <abstractions/opencl-mesa>
include <abstractions/vulkan>
include <abstractions/vulkan-strict>
capability audit_write,
network netlink raw,
@{exec_path} mr,
@{bin}/unix_chkpwd mrix,
/etc/login.defs r,
/etc/pam.d/* r,
/etc/security/faillock.conf r,
/etc/shells r,
owner /etc/shadow r,
owner @{XDG_PICTURES_DIR}/** r,
owner @{XDG_WALLPAPERS_DIR}/** r,
owner @{HOME}/@{XDG_WALLPAPERS_DIR}/** r,
owner @{user_pictures_dirs}/** r,
owner @{user_config_dirs}/hypr/hyprlock.conf r,
@ -44,4 +35,3 @@ profile hyprlock /{,usr/}{,s}bin/hyprlock {
}
# vim:syntax=apparmor