feat(profiles): add steam_lib_dirs local variables.

This commit is contained in:
Alexandre Pujol 2023-03-10 10:22:23 +00:00
parent 52b3c1bcc5
commit 847eb3deeb
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
5 changed files with 38 additions and 29 deletions

View file

@ -6,7 +6,8 @@ abi <abi/3.0>,
include <tunables/global>
@{exec_path} = @{user_share_dirs}/Steam/ubuntu[0-9]*_{32,64}/gameoverlayui
@{steam_lib_dirs} = @{user_share_dirs}/Steam/ubuntu[0-9]*_{32,64}
@{exec_path} = @{steam_lib_dirs}/gameoverlayui
profile steam-gameoverlayui @{exec_path} {
include <abstractions/base>
include <abstractions/audio>
@ -20,8 +21,8 @@ profile steam-gameoverlayui @{exec_path} {
@{exec_path} mr,
@{user_share_dirs}/Steam/ubuntu[0-9]*_{32,64}/*.so* mr,
@{user_share_dirs}/Steam/ubuntu[0-9]*_{32,64}/steam-runtime/{usr/,}lib/**.so* mr,
@{steam_lib_dirs}/*.so* mr,
@{steam_lib_dirs}/steam-runtime/{usr/,}lib/**.so* mr,
/usr/share/fonts/{,**} rk, # ?
@ -32,11 +33,11 @@ profile steam-gameoverlayui @{exec_path} {
owner @{HOME}/ r,
owner @{HOME}/.steam/registry.vdf rk,
owner @{HOME}/.steam/steam.pipe r,
owner @{steam_lib_dirs}/fontconfig/{,**} rwl,
owner @{user_share_dirs}/Steam/{,**} r,
owner @{user_share_dirs}/Steam/config/DialogConfigOverlay*.vdf rw,
owner @{user_share_dirs}/Steam/public/* rk,
owner @{user_share_dirs}/Steam/resource/{,**} rk,
owner @{user_share_dirs}/Steam/ubuntu[0-9]*_{32,64}/fontconfig/{,**} rwl,
owner @{user_share_dirs}/Steam/userdata/[0-9]*/{,**} rk,
owner /var/cache/fontconfig/ rw,