More sensible lookup order loading the config.

This commit is contained in:
Fernando Tarlá Cardoso Lemos
2010-10-23 18:20:08 -02:00
committed by Michael Stapelberg
parent 2f6d2d0966
commit 582ec2a071
2 changed files with 22 additions and 20 deletions

View File

@ -156,10 +156,10 @@ Exits i3.
When starting, i3 looks for configuration files in the following order:
1. ~/.config/i3/config (or $XDG_CONFIG_HOME/i3/config if set)
2. /etc/xdg/i3/config (or $XDG_CONFIG_DIRS/i3/config if set)
3. ~/.i3/config
4. /etc/i3/config
1. ~/.i3/config
2. ~/.config/i3/config (or $XDG_CONFIG_HOME/i3/config if set)
3. /etc/i3/config
4. /etc/xdg/i3/config (or $XDG_CONFIG_DIRS/i3/config if set)
You can specify a custom path using the -c option.