From 09feef89eea03527c9c81b8d15fe8c1474942209 Mon Sep 17 00:00:00 2001 From: Yacine Hmito Date: Tue, 1 Dec 2015 00:38:23 +0100 Subject: 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). --- sway.1.txt | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'sway.1.txt') 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 ------------- If _-c_ is not specified, sway will look in several locations for your config -file. The default one is provided at /etc/sway/config. The suggested location for -your config file is ~/.config/sway/config. ~/.sway/config will also work, and the -rest of the usual XDG config locations are supported. If no sway config is found, -sway will attempt to load an i3 config from all the config locations i3 supports. -If still nothing is found, you will receive an error. +file. The suggested location for your config file is ~/.config/sway/config. +~/.sway/config will also work, and the rest of the usual XDG config locations +are supported. At last, sway looks for a config file in a fallback directory, +which is /etc/sway/ by default. A standard configuration file is installed at +this location. If no sway config is found, sway will attempt to load an i3 +config from all the config locations i3 supports. If still nothing is found, +you will receive an error. For information on the config file format, see **sway**(5). -- cgit v1.2.3-70-g09d2