feat(profiles): add the @{XDG_WORK_DIR} variable.

This commit is contained in:
Alexandre Pujol 2022-12-09 19:13:06 +00:00
parent 2246e8ae63
commit 19d005bf59
Failed to generate hash of commit
3 changed files with 4 additions and 0 deletions

View file

@ -20,5 +20,6 @@
owner @{user_templates_dirs}/{,**} r, owner @{user_templates_dirs}/{,**} r,
owner @{user_torrents_dirs}/{,**} r, owner @{user_torrents_dirs}/{,**} r,
owner @{user_videos_dirs}/{,**} r, owner @{user_videos_dirs}/{,**} r,
owner @{user_work_dirs}/{,**} r,
include if exists <abstractions/user-read.d> include if exists <abstractions/user-read.d>

View file

@ -11,3 +11,4 @@
owner @{user_pictures_dirs}/{,**} rwl, owner @{user_pictures_dirs}/{,**} rwl,
owner @{user_projects_dirs}/{,**} rwl, owner @{user_projects_dirs}/{,**} rwl,
owner @{user_videos_dirs}/{,**} rwl, owner @{user_videos_dirs}/{,**} rwl,
owner @{user_work_dirs}/{,**} rwl,

View file

@ -23,6 +23,7 @@
# Extra user personal directories # Extra user personal directories
@{XDG_BOOKS_DIR}="Books" @{XDG_BOOKS_DIR}="Books"
@{XDG_PROJECTS_DIR}="Projects" @{XDG_PROJECTS_DIR}="Projects"
@{XDG_WORK_DIR}="Work"
@{XDG_SCREENSHOTS_DIR}="@{XDG_PICTURES_DIR}/Screenshots" @{XDG_SCREENSHOTS_DIR}="@{XDG_PICTURES_DIR}/Screenshots"
@{XDG_SYNC_DIR}="Sync" @{XDG_SYNC_DIR}="Sync"
@{XDG_TORRENTS_DIR}="Torrents" @{XDG_TORRENTS_DIR}="Torrents"
@ -66,6 +67,7 @@
@{user_torrents_dirs}=@{HOME}/@{XDG_TORRENTS_DIR} @{MOUNTS}/@{XDG_TORRENTS_DIR} @{user_torrents_dirs}=@{HOME}/@{XDG_TORRENTS_DIR} @{MOUNTS}/@{XDG_TORRENTS_DIR}
@{user_videos_dirs}=@{HOME}/@{XDG_VIDEOS_DIR} @{MOUNTS}/@{XDG_VIDEOS_DIR} @{user_videos_dirs}=@{HOME}/@{XDG_VIDEOS_DIR} @{MOUNTS}/@{XDG_VIDEOS_DIR}
@{user_vm_dirs}=@{HOME}/@{XDG_VM_DIR} @{MOUNTS}/@{XDG_VM_DIR} @{user_vm_dirs}=@{HOME}/@{XDG_VM_DIR} @{MOUNTS}/@{XDG_VM_DIR}
@{user_work_dirs}=@{HOME}/@{XDG_WORK_DIR} @{MOUNTS}/@{XDG_WORK_DIR}
# Also, include files in tunables/xdg-user-dirs.d for site-specific adjustments # Also, include files in tunables/xdg-user-dirs.d for site-specific adjustments
# to the various XDG directories # to the various XDG directories