feat(profiles): define more xdg variables.
This commit is contained in:
parent
b3a28da5e5
commit
e087349662
35 changed files with 103 additions and 128 deletions
|
|
@ -80,8 +80,8 @@ profile git @{exec_path} {
|
|||
|
||||
/etc/mailname r,
|
||||
|
||||
owner @{HOME}/@{XDG_PROJECTS_DIR}/ rw,
|
||||
owner @{HOME}/@{XDG_PROJECTS_DIR}/** rwkl -> @{HOME}/@{XDG_PROJECTS_DIR}/**,
|
||||
owner @{user_projects_dirs}/ rw,
|
||||
owner @{user_projects_dirs}/** rwkl -> @{user_projects_dirs}/**,
|
||||
owner @{user_cache_dirs}/*/ rw,
|
||||
owner @{user_cache_dirs}/*/** rwkl -> @{user_cache_dirs}/*/**,
|
||||
owner /tmp/** rwkl -> /tmp/**,
|
||||
|
|
@ -167,8 +167,8 @@ profile git @{exec_path} {
|
|||
/etc/vimrc r,
|
||||
/etc/vim/{,**} r,
|
||||
|
||||
owner @{HOME}/@{XDG_PROJECTS_DIR}/**/.git/COMMIT_EDITMSG rw,
|
||||
owner @{HOME}/@{XDG_PROJECTS_DIR}/**/.git/[0-9]* rw,
|
||||
owner @{user_projects_dirs}/**/.git/COMMIT_EDITMSG rw,
|
||||
owner @{user_projects_dirs}/**/.git/[0-9]* rw,
|
||||
|
||||
owner @{HOME}/.fzf/plugin/ r,
|
||||
owner @{HOME}/.fzf/plugin/fzf.vim r,
|
||||
|
|
|
|||
|
|
@ -12,8 +12,8 @@ profile gitstatusd @{exec_path} {
|
|||
|
||||
@{exec_path} mr,
|
||||
|
||||
owner @{HOME}/@{XDG_PROJECTS_DIR}/{,**} r,
|
||||
owner @{HOME}/@{XDG_PROJECTS_DIR}/**/.git/.gitstatus.[0-9a-zA-Z]*/{,**} rw,
|
||||
owner @{user_projects_dirs}/{,**} r,
|
||||
owner @{user_projects_dirs}/**/.git/.gitstatus.[0-9a-zA-Z]*/{,**} rw,
|
||||
|
||||
owner @{HOME}/.gitconfig r,
|
||||
owner @{user_config_dirs}/git/{,*} r,
|
||||
|
|
|
|||
|
|
@ -22,8 +22,8 @@ profile hugo @{exec_path} {
|
|||
|
||||
/etc/mime.types r,
|
||||
|
||||
owner @{HOME}/@{XDG_PROJECTS_DIR}/{,**} rw,
|
||||
owner @{HOME}/@{XDG_PROJECTS_DIR}/**/.hugo_build.lock rwk,
|
||||
owner @{user_projects_dirs}/{,**} rw,
|
||||
owner @{user_projects_dirs}/**/.hugo_build.lock rwk,
|
||||
|
||||
owner /tmp/hugo_cache/ rw,
|
||||
owner /tmp/hugo_cache/**/ rw,
|
||||
|
|
|
|||
|
|
@ -6,9 +6,8 @@ abi <abi/3.0>,
|
|||
|
||||
include <tunables/global>
|
||||
|
||||
@{JD_INSTALLDIR} = /home/*/jd2
|
||||
@{JD_SH_PATH} = /home/*/@{XDG_DOWNLOAD_DIR}
|
||||
@{JD_SH_PATH} += /home/*/@{XDG_DESKTOP_DIR}
|
||||
@{JD_INSTALLDIR} = @{HOME}/jd2
|
||||
@{JD_SH_PATH} = @{user_download_dirs} @{HOME}/@{XDG_DESKTOP_DIR}
|
||||
|
||||
@{exec_path} = @{JD_SH_PATH}/JD2Setup_{x86,x64}.sh
|
||||
profile jdownloader-install @{exec_path} {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue