aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorYacine Hmito <yacine.hmito@gmail.com>2015-12-01 00:38:23 +0100
committerYacine Hmito <yacine.hmito@gmail.com>2015-12-01 01:07:48 +0100
commit09feef89eea03527c9c81b8d15fe8c1474942209 (patch)
tree4a9ecf5416f6e109f60aa6834eec43cba5267d5d /README.md
parent44d0f731c36661a192d0fb9d65822eebef7d0092 (diff)
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 'README.md')
-rw-r--r--README.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/README.md b/README.md
index a962e28a..4bbfa750 100644
--- a/README.md
+++ b/README.md
@@ -57,8 +57,10 @@ On systems without logind, you need to suid the sway binary:
## Configuration
If you already use i3, then copy your i3 config to `~/.config/sway/config` and
-it'll work out of the box. Otherwise, copy `/etc/sway/config` to
-`~/.config/sway/config`. Run `man 5 sway` for information on the configuration.
+it'll work out of the box. Otherwise, copy the sample configuration file to
+`~/.config/sway/config`. It is located at `/etc/sway/config`, unless the
+`DFALLBACK_CONFIG_DIR` flag has been set. Run `man 5 sway` for information on
+the configuration.
## Running