From 5c59b96ddd49cb9bd3d17618181c995c771fd509 Mon Sep 17 00:00:00 2001 From: altffour Date: Thu, 7 Jan 2021 14:55:11 +0300 Subject: [PATCH] xdg: add docs to mention XDG --- docs/manual.txt | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/docs/manual.txt b/docs/manual.txt index 0f24ffe3..2c13b883 100644 --- a/docs/manual.txt +++ b/docs/manual.txt @@ -261,11 +261,13 @@ 4.1 Configuration files - The configuration is saved to ~/.irssi/config file. You can edit - it with text editor if you want, you can also add comments to it - and they stay there even if /SAVE is used. Comments are the lines - starting with # character. Any errors in config file are displayed - at startup. + The configuration is saved to ~/.irssi/config file. If you want to + use XDG paths, create the folder $XDG_CONFIG_HOME/irssi. This would + also make irssi use $XDG_CACHE_HOME/irssi, $XDG_DATA_HOME/irssi, and + $XDG_RUNTIME_HOME/irssi. You can edit the config file with text editor + if you want, you can also add comments to it and they stay there even + if /SAVE is used. Comments are the lines starting with # character. + Any errors in config file are displayed at startup. Irssi uses it's own config library for handling the config file. The format is pretty much the same as in libPropList and should be