diff options
author | Yacine Hmito <yacine.hmito@gmail.com> | 2015-12-01 00:38:23 +0100 |
---|---|---|
committer | Yacine Hmito <yacine.hmito@gmail.com> | 2015-12-01 01:07:48 +0100 |
commit | 09feef89eea03527c9c81b8d15fe8c1474942209 (patch) | |
tree | 4a9ecf5416f6e109f60aa6834eec43cba5267d5d /sway.1.txt | |
parent | Add framework for switching command sets (diff) | |
download | sway-09feef89eea03527c9c81b8d15fe8c1474942209.tar.gz sway-09feef89eea03527c9c81b8d15fe8c1474942209.tar.zst sway-09feef89eea03527c9c81b8d15fe8c1474942209.zip |
Can customize config fallback directory
CMake takes a `FALLBACK_CONFIG_DIR` flag which is the directory where the
standard configuration file `config` is copied at installation.
If loading from typical configuration directories fails, sway loads
FALLBACK_CONFIG_DIR/config (/etc/sway/config by default).
Diffstat (limited to 'sway.1.txt')
-rw-r--r-- | sway.1.txt | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -66,11 +66,13 @@ Configuration | |||
66 | ------------- | 66 | ------------- |
67 | 67 | ||
68 | If _-c_ is not specified, sway will look in several locations for your config | 68 | If _-c_ is not specified, sway will look in several locations for your config |
69 | file. The default one is provided at /etc/sway/config. The suggested location for | 69 | file. The suggested location for your config file is ~/.config/sway/config. |
70 | your config file is ~/.config/sway/config. ~/.sway/config will also work, and the | 70 | ~/.sway/config will also work, and the rest of the usual XDG config locations |
71 | rest of the usual XDG config locations are supported. If no sway config is found, | 71 | are supported. At last, sway looks for a config file in a fallback directory, |
72 | sway will attempt to load an i3 config from all the config locations i3 supports. | 72 | which is /etc/sway/ by default. A standard configuration file is installed at |
73 | If still nothing is found, you will receive an error. | 73 | this location. If no sway config is found, sway will attempt to load an i3 |
74 | config from all the config locations i3 supports. If still nothing is found, | ||
75 | you will receive an error. | ||
74 | 76 | ||
75 | For information on the config file format, see **sway**(5). | 77 | For information on the config file format, see **sway**(5). |
76 | 78 | ||