summaryrefslogtreecommitdiff
path: root/doc/config
diff options
context:
space:
mode:
authorPhil Jones <philj56@gmail.com>2022-08-07 10:53:59 +0100
committerPhil Jones <philj56@gmail.com>2022-08-07 10:53:59 +0100
commite946ae5a30d4e6e367b05ac82fb96cd7083b7566 (patch)
tree2da670a14e96498d517c1a0efdae12886e5a8625 /doc/config
parentc9f1daea03a41c0cad56453e1dcc50f6133f19c6 (diff)
Delay scaling of percentage values.
The config file code now delays calculation of percentage values until `config_fix_percentages()` is called. This allows the config file to be parsed before output configuration is complete, thus allowing `--output` and `--late-keyboard-init` to be specified in the config file.
Diffstat (limited to 'doc/config')
-rw-r--r--doc/config10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/config b/doc/config
index bb7c232..8d9d743 100644
--- a/doc/config
+++ b/doc/config
@@ -95,6 +95,10 @@
#
### Window positioning
#
+ # The name of the output to appear on. An empty string will use the
+ # default output chosen by the compositor.
+ output = ""
+
# Location on screen to anchor the window to.
#
# Supported values: top-left, top, top-right, right, bottom-right,
@@ -120,3 +124,9 @@
# If true, directly launch applications on selection when in drun mode.
# Otherwise, just print the command line to stdout.
drun-launch = false
+
+ # Delay keyboard initialisation until after the first draw to screen.
+ # This option is experimental, and will cause tofi to miss keypresses
+ # for a short time after launch. The only reason to use this option is
+ # performance on slow systems.
+ late-keyboard-init = false