diff options
author | Wynn Wolf Arbor | 2020-03-18 19:48:18 +0100 |
---|---|---|
committer | Wolfgang Müller | 2021-04-27 12:28:35 +0200 |
commit | 8a67da3011d0efe1ded96f4ef66085fa90ccb4c6 (patch) | |
tree | 8a90b9081272e273dea4d39f0c0c70030bb28d1f /cwm.1 | |
parent | 03b67742f6e3939ceae5f9587c60391d35259f6d (diff) | |
download | cwm-8a67da3011d0efe1ded96f4ef66085fa90ccb4c6.tar.gz |
Migrate to an XDG-compliant config file location
Diffstat (limited to '')
-rw-r--r-- | cwm.1 | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -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 |