From e946ae5a30d4e6e367b05ac82fb96cd7083b7566 Mon Sep 17 00:00:00 2001 From: Phil Jones Date: Sun, 7 Aug 2022 10:53:59 +0100 Subject: 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. --- doc/config | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'doc/config') 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 -- cgit v1.2.3