feat(profile): general update.

This commit is contained in:
Alexandre Pujol 2024-09-13 19:47:07 +01:00
parent 5474a5fa69
commit db064b651e
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
13 changed files with 32 additions and 56 deletions

View file

@ -30,9 +30,7 @@ profile minitube @{exec_path} {
@{exec_path} mr,
# Be able to turn off the screensaver while playing movies
@{bin}/xdg-screensaver rCx -> xdg-screensaver,
@{bin}/xdg-screensaver rPx,
@{open_path} rPx -> child-open,
/usr/share/minitube/{,**} r,
@ -69,31 +67,6 @@ profile minitube @{exec_path} {
/dev/shm/#@{int} rw,
owner /dev/tty@{int} rw,
profile xdg-screensaver {
include <abstractions/base>
include <abstractions/consoles>
@{bin}/xdg-screensaver mr,
@{sh_path} rix,
@{bin}/mv rix,
@{bin}/{,e}grep rix,
@{bin}/sed rix,
@{bin}/which{,.debianutils} rix,
@{bin}/xset rix,
@{bin}/xautolock rix,
@{bin}/dbus-send rix,
owner @{HOME}/.Xauthority r,
# file_inherit
/dev/dri/card@{int} rw,
network inet stream,
network inet6 stream,
include if exists <local/minitube_xdg-screensaver>
}
include if exists <local/minitube>
}