From: Kevin Lyda Date: Sun, 11 Jul 2021 13:48:05 +0000 (+0100) Subject: Explain where files are saved X-Git-Tag: 1.12~18 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=5a4888ea78c5c1d4c5519b5cd1b9850fe20e11b8;p=deb_pkgs%2Fautorandr.git Explain where files are saved For people who manage their home directories with things like vcsh or other versioning system, it's good to know where configuration files live. This CL adds a FILES section to the man page. --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a01ee28 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.*.swp diff --git a/autorandr.1 b/autorandr.1 index d268822..9bc7a78 100644 --- a/autorandr.1 +++ b/autorandr.1 @@ -58,6 +58,17 @@ Force loading or reloading of a profile .TP .BR \-\-version Show version information and exit +.SH FILES +Configuration files are searched for in the \fIautorandr +\fRdirectory in the colon separated list of paths in \fI$XDG_CONFIG_DIRS +\fR- or in \fI/etc/xdg +\fRif that var is not set. They are then looked for in \fI~/.autorandr +\fRand if that doesn't exist, in \fI$XDG_CONFIG_HOME/autorandr +\fRor in \fI~/.config/autorandr\fR if that var is unset. + +In each of those directories it looks for directories with \fIconfig\fR and +\fIsetup\fR in them. It is best to manage these files with the +\fBautorandr\fR utility. .SH AUTHOR \fRPhillip Berndt .br