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/tofi.5.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'doc/tofi.5.md') diff --git a/doc/tofi.5.md b/doc/tofi.5.md index c425b1b..23f4cb2 100644 --- a/doc/tofi.5.md +++ b/doc/tofi.5.md @@ -154,6 +154,14 @@ options. > > Default: center +**output**=*name* + +> The name of the output to appear on, if multiple outputs are present. +> If empty, the compositor will choose which output to display the +> window on (usually the currently focused output). +> +> Default: "" + **margin-top**=*px\|%* > Offset from top of screen. See **PERCENTAGE VALUES** for more @@ -256,6 +264,15 @@ options. > > Default: true +**late-keyboard-init**=*true\|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. +> +> Default: false + # COLORS Colors can be specified in the form *RGB*, *RGBA*, *RRGGBB* or -- cgit v1.2.3