]> git.donarmstrong.com Git - deb_pkgs/autorandr.git/commitdiff
Explain where files are saved
authorKevin Lyda <kevin@lyda.ie>
Sun, 11 Jul 2021 13:48:05 +0000 (14:48 +0100)
committerPhillip Berndt <phillip.berndt@googlemail.com>
Wed, 18 Aug 2021 10:38:01 +0000 (12:38 +0200)
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.

.gitignore [new file with mode: 0644]
autorandr.1

diff --git a/.gitignore b/.gitignore
new file mode 100644 (file)
index 0000000..a01ee28
--- /dev/null
@@ -0,0 +1 @@
+.*.swp
index d268822bba5ba0a11cd2661ccdcc1c8ae623526b..9bc7a78a0c8bfa4040339cbca62e39863cea3615 100644 (file)
@@ -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 <phillip.berndt@googlemail.com>
 .br