refractor: hypr group -> hyprland
This commit is contained in:
parent
3f16003ff9
commit
8ef9a18242
5 changed files with 0 additions and 5 deletions
20
apparmor.d/groups/hyprland/hyprctl
Normal file
20
apparmor.d/groups/hyprland/hyprctl
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2024 odomingao
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = @{bin}/hyprctl
|
||||
profile hyprctl @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/nameservice-strict>
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
include if exists <local/hyprctl>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
||||
36
apparmor.d/groups/hyprland/hyprlock
Normal file
36
apparmor.d/groups/hyprland/hyprlock
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2024 odomingao
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = @{bin}/hyprlock
|
||||
profile hyprlock @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/authentication>
|
||||
include <abstractions/fonts>
|
||||
include <abstractions/graphics>
|
||||
include <abstractions/nameservice-strict>
|
||||
|
||||
network netlink raw,
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
/etc/security/faillock.conf r,
|
||||
/etc/shells r,
|
||||
|
||||
owner @{HOME}/@{XDG_WALLPAPERS_DIR}/** r,
|
||||
owner @{user_pictures_dirs}/** r,
|
||||
|
||||
owner @{user_config_dirs}/hypr/hyprlock.conf r,
|
||||
|
||||
owner @{run}/faillock/@{user} rwk,
|
||||
|
||||
owner /dev/tty@{int} rw,
|
||||
|
||||
include if exists <local/hyprlock>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
30
apparmor.d/groups/hyprland/hyprpaper
Normal file
30
apparmor.d/groups/hyprland/hyprpaper
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2024 odomingao
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.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
|
||||
24
apparmor.d/groups/hyprland/hyprpicker
Normal file
24
apparmor.d/groups/hyprland/hyprpicker
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2024 odomingao
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = @{bin}/hyprpicker
|
||||
profile hyprpicker @{exec_path} {
|
||||
include <abstractions/base>
|
||||
|
||||
@{exec_path} mr,
|
||||
@{bin}/wl-copy Px,
|
||||
|
||||
/usr/share/icons/** r,
|
||||
|
||||
owner @{run}/user/@{uid}/.hyprpicker* rw,
|
||||
|
||||
include if exists <local/hyprpicker>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
||||
40
apparmor.d/groups/hyprland/hyprpm
Normal file
40
apparmor.d/groups/hyprland/hyprpm
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2024 odomingao
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/3.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = @{bin}/hyprpm
|
||||
profile hyprpm @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/nameservice-strict>
|
||||
include <abstractions/ssl_certs>
|
||||
include <abstractions/user-tmp>
|
||||
|
||||
network inet dgram,
|
||||
network inet stream,
|
||||
network inet6 dgram,
|
||||
network inet6 stream,
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
@{bin}/** rix,
|
||||
@{lib}/gcc/** rix,
|
||||
@{lib}/git-core/** rix,
|
||||
|
||||
/usr/include/** r,
|
||||
/usr/share/git-core/** r,
|
||||
/usr/share/pkgconfig/** r,
|
||||
|
||||
owner @{HOME}/.gitconfig r,
|
||||
|
||||
owner @{user_share_dirs}/hyprpm/{,**} rw,
|
||||
|
||||
/tmp/hyprpm/** rw,
|
||||
|
||||
include if exists <local/hyprpm>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
Loading…
Add table
Add a link
Reference in a new issue