diff options
author | Daniel Patterson <me@danielpatterson.dev> | 2022-03-02 03:38:59 +0000 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-03-03 21:31:32 +0100 |
commit | 0cfffaef5409f99bbc4140b97b769a400b7467f8 (patch) | |
tree | c37b8a4257eb1a9dd58873871dc355043c17b4c8 /doc/aerc-config.5.scd | |
parent | 7e6c0d2e6e8c37844289a9b215df29708c580bf2 (diff) | |
download | aerc-0cfffaef5409f99bbc4140b97b769a400b7467f8.tar.gz |
config: specify sharedir during build
We should use the Makefile value of SHAREDIR when searching for config
files and templates etc.
This is important for systems which do not use the standard file
hierarchy or which do not have a consistent location for installing
program files, for example NixOS, which will have a different install
location with every update.
Signed-off-by: Daniel Patterson <me@danielpatterson.dev>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'doc/aerc-config.5.scd')
-rw-r--r-- | doc/aerc-config.5.scd | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/aerc-config.5.scd b/doc/aerc-config.5.scd index ae8ce1b8..9e8451ff 100644 --- a/doc/aerc-config.5.scd +++ b/doc/aerc-config.5.scd @@ -219,8 +219,8 @@ These options are configured in the *[ui]* section of aerc.conf. be found, the following paths will be used as a fallback in that order: ``` - ~/.config/aerc/stylesets - ~/.local/share/aerc/stylesets + ${XDG_CONFIG_HOME:-~/.config}/aerc/stylesets + ${XDG_DATA_HOME:-~/.local/share}/aerc/stylesets /usr/local/share/aerc/stylesets /usr/share/aerc/stylesets ``` @@ -417,8 +417,8 @@ These options are configured in the *[templates]* section of aerc.conf. be found, the following paths will be used as a fallback in that order: ``` - ~/.config/aerc/templates - ~/.local/share/aerc/templates + ${XDG_CONFIG_HOME:-~/.config}/aerc/templates + ${XDG_DATA_HOME:-~/.local/share}/aerc/templates /usr/local/share/aerc/templates /usr/share/aerc/templates ``` |