Support of XDG directories has been added in WeeChat 3.2 and these directories are now used by default.
Note: for compatibility reasons, if a legacy directory ~/.weechat
exists, it is used instead of XDG directories.
The files are stored in four different directories:
- config (eg:
/home/user/.config/weechat
) - data (eg:
/home/user/.local/share/weechat
) - cache (eg:
/home/user/.cache/weechat
) - runtime (eg:
/run/user/1000/weechat
).
As this led to a lot of changes in WeeChat code but also in the scripts, a new specification repository has been setup on GitHub: https://github.com/weechat/specs.we...
Please read the XDG directories specification for the complete list of changes: https://specs.weechat.org/specs/001....