aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorkoekeishiya <aasvi93@hotmail.com>2019-07-16 13:40:04 +0200
committerkoekeishiya <aasvi93@hotmail.com>2019-07-16 13:40:04 +0200
commitfaff8543ffc01d3a6c017a187761c17d76afc3fa (patch)
treee67f4debe84ab788f856d1d97bc537b79eb1d5a8 /README.md
parent22071ddd738ad591f42500ad8dbe818ffd1eb93d (diff)
downloadskhd-faff8543ffc01d3a6c017a187761c17d76afc3fa.tar.gz
skhd-faff8543ffc01d3a6c017a187761c17d76afc3fa.zip
#90 support XDG_CONFIG_HOME when looking for config file
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 7 insertions, 1 deletions
diff --git a/README.md b/README.md
index f1647e5..3748377 100644
--- a/README.md
+++ b/README.md
@@ -78,7 +78,13 @@ Requires xcode-8 command-line tools.
### Configuration
-**skhd** will load the configuration file `$HOME/.skhdrc`, unless otherwise specified.
+The default configuration file is located at one of the following places (in order):
+
+ - `$XDG_CONFIG_HOME/skhd/skhdrc`
+ - `$HOME/.config/skhd/skhdrc`
+ - `$HOME/.skhdrc`
+
+A different location can be specified with the *--config | -c* argument.
A sample config is available [here](https://github.com/koekeishiya/skhd/blob/master/examples/skhdrc)