feat: add XDG_MAIL_DIR variable

This commit is contained in:
Alexandre Pujol 2023-07-20 21:19:23 +01:00
parent e5ed57c041
commit 2307c536b3
No known key found for this signature in database
GPG Key ID: C5469996F0DF68EC
2 changed files with 4 additions and 2 deletions

View File

@ -46,8 +46,8 @@ profile claws-mail @{exec_path} flags=(complain) {
owner @{HOME}/ r,
owner @{HOME}/.claws-mail/ rw,
owner @{HOME}/.claws-mail/** rwl -> @{HOME}/.claws-mail/**,
owner @{HOME}/Mail/ rw,
owner @{HOME}/Mail/** rwl -> @{HOME}/Mail/**,
owner @{user_mail_dirs}/ rw,
owner @{user_mail_dirs}/** rwl -> @{user_mail_dirs}/**,
owner /tmp/claws-mail-[0-9]*/ rw,
owner /tmp/claws-mail-[0-9]*/@{hex} rw,

View File

@ -21,6 +21,7 @@
@{XDG_VM_DIR}=".vm"
@{XDG_VM_SHARES_DIR}="VM_Shares"
@{XDG_IMG_DIR}="images"
@{XDG_MAIL_DIR}="Mail"
@{XDG_SCREENSHOTS_DIR}="Pictures/Screenshots"
@{XDG_WALLPAPERS_DIR}="Pictures/Wallpapers"
@ -53,6 +54,7 @@
# Other user directories
@{user_books_dirs}=@{HOME}/@{XDG_BOOKS_DIR} @{MOUNTS}/@{XDG_BOOKS_DIR}
@{user_games_dirs}=@{HOME}/@{XDG_GAMES_DIR} @{MOUNTS}/@{XDG_GAMES_DIR}
@{user_mail_dirs}=@{HOME}/@{XDG_MAIL_DIR} @{MOUNTS}/@{XDG_MAIL_DIR}
@{user_projects_dirs}=@{HOME}/@{XDG_PROJECTS_DIR} @{MOUNTS}/@{XDG_PROJECTS_DIR}
@{user_sync_dirs}=@{HOME}/@{XDG_SYNC_DIR} @{MOUNTS}/*/@{XDG_SYNC_DIR}
@{user_torrents_dirs}=@{HOME}/@{XDG_TORRENTS_DIR} @{MOUNTS}/@{XDG_TORRENTS_DIR}