refractor: hypr group -> hyprland

This commit is contained in:
Alexandre Pujol 2024-07-15 23:02:54 +01:00
parent 3f16003ff9
commit 8ef9a18242
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
5 changed files with 0 additions and 5 deletions

View 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

View 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

View 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

View 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

View 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