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.scd | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'doc/tofi.5.scd') diff --git a/doc/tofi.5.scd b/doc/tofi.5.scd index 9841b1f..c36f98c 100644 --- a/doc/tofi.5.scd +++ b/doc/tofi.5.scd @@ -135,6 +135,13 @@ 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 information. Only has an effect when anchored to the top of the screen. @@ -222,6 +229,14 @@ 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 _RRGGBBAA_, -- cgit v1.2.3