aboutsummaryrefslogtreecommitdiffstats
path: root/cwmrc
diff options
context:
space:
mode:
authorWynn Wolf Arbor2020-03-18 19:48:18 +0100
committerWolfgang Müller2021-04-27 12:28:35 +0200
commit8a67da3011d0efe1ded96f4ef66085fa90ccb4c6 (patch)
tree8a90b9081272e273dea4d39f0c0c70030bb28d1f /cwmrc
parent03b67742f6e3939ceae5f9587c60391d35259f6d (diff)
downloadcwm-8a67da3011d0efe1ded96f4ef66085fa90ccb4c6.tar.gz
Migrate to an XDG-compliant config file location
Diffstat (limited to '')
-rw-r--r--cwmrc.57
1 files changed, 5 insertions, 2 deletions
diff --git a/cwmrc.5 b/cwmrc.5
index 10ae69f..9d79905 100644
--- a/cwmrc.5
+++ b/cwmrc.5
@@ -431,12 +431,15 @@ Move pointer 10 times
pixels left.
.El
.Sh FILES
-.Bl -tag -width "~/.cwmrcXXX" -compact
-.It Pa ~/.cwmrc
+.Bl -tag -width "$XDG_CONFIG_HOME/cwm/cwmrcXXX" -compact
+.It Pa $XDG_CONFIG_HOME/cwm/cwmrc
Default
.Xr cwm 1
configuration file.
.El
+.Pp
+If $XDG_CONFIG_HOME is unset or empty, it will default to
+.Em ~/.config
.Sh EXAMPLES
.Bd -literal
# Set default Xft(3) font