mirror of
https://github.com/swaywm/sway.git
synced 2025-11-26 06:59:59 -05:00
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).
This commit is contained in:
parent
44d0f731c3
commit
09feef89ee
4 changed files with 16 additions and 9 deletions
12
sway.1.txt
12
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).
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue