Merge pull request #436 from Kaligule/master

Clearer order of locations searched for config file.
This commit is contained in:
Drew DeVault 2016-01-05 16:17:11 -05:00
commit e700e76d84

View file

@ -68,10 +68,10 @@ Configuration
If _-c_ is not specified, sway will look in several locations for your config If _-c_ is not specified, sway will look in several locations for your config
file. The suggested location for your config file is ~/.config/sway/config. 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 ~/.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, are supported. If no sway config is found, sway will attempt to load an i3
which is /etc/sway/ by default. A standard configuration file is installed at config from all the config locations i3 supports. At last, sway looks for a
this location. If no sway config is found, sway will attempt to load an i3 config file in a fallback directory, which is /etc/sway/ by default. A standard
config from all the config locations i3 supports. If still nothing is found, configuration file is installed at this location. If still nothing is found,
you will receive an error. you will receive an error.
For information on the config file format, see **sway**(5). For information on the config file format, see **sway**(5).