feat(profiles): define more xdg variables.

This commit is contained in:
Alexandre Pujol 2022-06-26 17:32:12 +01:00
parent b3a28da5e5
commit e087349662
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
35 changed files with 103 additions and 128 deletions

View file

@ -6,8 +6,6 @@ abi <abi/3.0>,
include <tunables/global>
@{MEDIA_LIB} = @{MOUNTS}/mp3/
@{exec_path} = /{usr/,}bin/strawberry
profile strawberry @{exec_path} {
include <abstractions/base>
@ -46,11 +44,8 @@ profile strawberry @{exec_path} {
/{usr/,}bin/xdg-open rCx -> open,
# Media library
/ r,
@{MOUNTS}/ r,
owner @{MOUNTS}/*/ r,
owner @{MEDIA_LIB}/ r,
owner @{MEDIA_LIB}/** rw,
owner @{user_music_dirs}/ r,
owner @{user_music_dirs}/** rw,
# Playlists
owner @{HOME}/**.{m3u,xspf,pls,asx,cue,wpl} rw,