diff options
author | Nitroretro <nitroretro@protonmail.com> | 2019-12-17 02:34:42 +0200 |
---|---|---|
committer | Lukas Fleischer <lfleischer@calcurse.org> | 2019-12-23 13:16:39 -0500 |
commit | 04162de6ddcdbc5c1b2410f4f5f7dbae72cc62d9 (patch) | |
tree | 1b457c9db93f05f5103c3520316a8ef56c0b9aba /src/mem.c | |
parent | 250a233ff7aea152284e62e99b8ca09a0e032699 (diff) | |
download | calcurse-04162de6ddcdbc5c1b2410f4f5f7dbae72cc62d9.tar.gz calcurse-04162de6ddcdbc5c1b2410f4f5f7dbae72cc62d9.zip |
Add XDG Base Directory Support
* Use "$XDG_DATA_HOME/calcurse" for data files
* Use "$XDG_CONFIG_HOME/calcurse" for config files
* "$XDG_DATA_HOME" defaults to "$HOME/.local/share"
* "$XDG_CONFIG_HOME" defaults to "$HOME/.config"
* If "$HOME/.calcurse" exists, then it will be used instead for backward
compatibility.
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'src/mem.c')
0 files changed, 0 insertions, 0 deletions