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.
This commit is contained in:
Kevin Lyda 2021-07-11 14:48:05 +01:00 committed by Phillip Berndt
parent 4f010c576b
commit 5a4888ea78
2 changed files with 12 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.*.swp

View File

@ -58,6 +58,17 @@ Force loading or reloading of a profile
.TP .TP
.BR \-\-version .BR \-\-version
Show version information and exit 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 .SH AUTHOR
\fRPhillip Berndt <phillip.berndt@googlemail.com> \fRPhillip Berndt <phillip.berndt@googlemail.com>
.br .br