feat(profiles): replace old [0-9]* glob by @{int}

Beware some [0-9]* glob are actually not proper @{int}.
This commit is contained in:
Alexandre Pujol 2023-08-18 17:09:53 +01:00
parent 8ea4491a56
commit 275d6b6e62
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
368 changed files with 637 additions and 636 deletions

View file

@ -60,7 +60,7 @@ profile mpv @{exec_path} {
owner /tmp/mpsyt-input* rw,
owner /tmp/mpsyt-mpv*.sock rw,
owner /tmp/smplayer-mpv-* rw,
owner /tmp/smplayer_preview/[0-9]*.{jpg,png} w,
owner /tmp/smplayer_preview/@{int}.{jpg,png} w,
owner /tmp/smplayer_screenshots/cap_*.{jpg,png} w,
owner @{run}/user/@{uid}/gvfs/smb-share:server=*,share=**/ r,
@ -83,8 +83,8 @@ profile mpv @{exec_path} {
@{sys}/devices/**/sound/**/capabilities/* r,
@{sys}/devices/**/sound/**/uevent r,
/dev/input/event[0-9]* r,
owner /dev/tty[0-9]* rw,
/dev/input/event@{int} r,
owner /dev/tty@{int} rw,
profile xdg-screensaver {
include <abstractions/base>
@ -105,7 +105,7 @@ profile mpv @{exec_path} {
owner @{HOME}/.Xauthority r,
# file_inherit
/dev/dri/card[0-9]* rw,
/dev/dri/card@{int} rw,
network inet stream,
network inet6 stream,
}