aboutsummaryrefslogtreecommitdiffstats
path: root/cwm.1
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--cwm.19
1 files changed, 6 insertions, 3 deletions
diff --git a/cwm.1 b/cwm.1
index 74dbd36..49c90a3 100644
--- a/cwm.1
+++ b/cwm.1
@@ -39,7 +39,7 @@ Specify an alternative configuration file.
By default,
.Nm
loads
-.Pa ~/.cwmrc ,
+.Pa $XDG_CONFIG_HOME/cwm/cwmrc ,
if present.
Any error messages from lines in the configuration file will be sent to
.Em stderr ;
@@ -244,12 +244,15 @@ starts on this display unless the
option is given.
.El
.Sh FILES
-.Bl -tag -width "~/.cwmrcXX" -compact
-.It Pa ~/.cwmrc
+.Bl -tag -width "$XDG_CONFIG_HOME/cwm/cwmrcXXX" -compact
+.It Pa $XDG_CONFIG_HOME/cwm/cwmrc
Default
.Nm
configuration file.
.El
+.Pp
+If $XDG_CONFIG_HOME is unset or empty, it will default to
+.Em ~/.config
.Sh SEE ALSO
.Xr cwmrc 5
.Sh HISTORY