aboutsummaryrefslogtreecommitdiffstats
path: root/sway.1.txt
diff options
context:
space:
mode:
authorLibravatar Yacine Hmito <yacine.hmito@gmail.com>2015-12-01 00:38:23 +0100
committerLibravatar Yacine Hmito <yacine.hmito@gmail.com>2015-12-01 01:07:48 +0100
commit09feef89eea03527c9c81b8d15fe8c1474942209 (patch)
tree4a9ecf5416f6e109f60aa6834eec43cba5267d5d /sway.1.txt
parentAdd framework for switching command sets (diff)
downloadsway-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.txt12
1 files changed, 7 insertions, 5 deletions
diff --git a/sway.1.txt b/sway.1.txt
index c80bd917..402b2d77 100644
--- a/sway.1.txt
+++ b/sway.1.txt
@@ -66,11 +66,13 @@ Configuration
66------------- 66-------------
67 67
68If _-c_ is not specified, sway will look in several locations for your config 68If _-c_ is not specified, sway will look in several locations for your config
69file. The default one is provided at /etc/sway/config. The suggested location for 69file. The suggested location for your config file is ~/.config/sway/config.
70your 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
71rest of the usual XDG config locations are supported. If no sway config is found, 71are supported. At last, sway looks for a config file in a fallback directory,
72sway will attempt to load an i3 config from all the config locations i3 supports. 72which is /etc/sway/ by default. A standard configuration file is installed at
73If still nothing is found, you will receive an error. 73this location. If no sway config is found, sway will attempt to load an i3
74config from all the config locations i3 supports. If still nothing is found,
75you will receive an error.
74 76
75For information on the config file format, see **sway**(5). 77For information on the config file format, see **sway**(5).
76 78