aboutsummaryrefslogtreecommitdiffstats
path: root/doc/dome-key.1.txt
diff options
context:
space:
mode:
authorTeddy Wing2018-11-14 17:28:22 +0100
committerTeddy Wing2018-11-14 17:28:44 +0100
commit69df701e72f06819384a1d7328a522f4a5705fba (patch)
treee788b6f1fee786ab1bb30357a1d3da2914da3196 /doc/dome-key.1.txt
parentbab4279a04e57c5c7143e2b059e70ebd75fde17c (diff)
downloadDomeKey-69df701e72f06819384a1d7328a522f4a5705fba.tar.bz2
doc/dome-key.1.txt: Add "Configuration" section
Describe the `timeout` configuration option.
Diffstat (limited to 'doc/dome-key.1.txt')
-rw-r--r--doc/dome-key.1.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/dome-key.1.txt b/doc/dome-key.1.txt
index a7a2be7..41e3220 100644
--- a/doc/dome-key.1.txt
+++ b/doc/dome-key.1.txt
@@ -47,6 +47,22 @@ OPTIONS
CONFIGURATION
-------------
+An optional configuration file can be added at
+'~/.config/dome-key/config.toml'.
+
+Presently, only one configuration option is available. Here’s an example
+config:
+
+ timeout = 400
+
+timeout::
+ Sets the speed of multi-button mappings. To run an action mapped to
+ '<Play><Down>', you first press the ‘play’ button, then the ‘down’
+ button on your headphones. The time allowed between each button press
+ is defined by this option. By default, it’s set to 500 milliseconds.
+ It can be changed to any positive integer amount of milliseconds.
+ Setting it to '0' will prevent multi-button mappings and cause button
+ actions to be executed immediately.
MAPPINGS
--------