From f6481fd8baf793de17cb071e17ef7208f9db40c0 Mon Sep 17 00:00:00 2001 From: Phil Jones Date: Fri, 14 Oct 2022 17:02:04 +0100 Subject: Add --exclusive-zone option. --- doc/config | 10 ++++++++++ doc/tofi.5.md | 10 ++++++++++ doc/tofi.5.scd | 9 +++++++++ 3 files changed, 29 insertions(+) (limited to 'doc') diff --git a/doc/config b/doc/config index 4f81163..d7ec8b5 100644 --- a/doc/config +++ b/doc/config @@ -111,6 +111,16 @@ # bottom, bottom-left, left, center. anchor = center + # Set the size of the exclusive zone. + # + # A value of -1 means ignore exclusive zones completely. + # A value of 0 will move tofi out of the way of other windows' zones. + # A value greater than 0 will set that much space as an exclusive zone. + # + # Values greater than 0 are only meaningful when tofi is anchored to a + # single edge. + exclusive-zone = -1 + # Window offset from edge of screen. Only has an effect when anchored # to the relevant edge. Can be pixels or a percentage. margin-top = 0 diff --git a/doc/tofi.5.md b/doc/tofi.5.md index 319171d..2ddabb4 100644 --- a/doc/tofi.5.md +++ b/doc/tofi.5.md @@ -240,6 +240,16 @@ options. > > Default: center +**exclusive-zone**=*-1\|px\|%* + +> Set the size of the exclusive zone. A value of -1 means ignore +> exclusive zones completely. A value of 0 will move tofi out of the way +> of other windows' exclusive zones. A value greater than 0 will set +> that much space as an exclusive zone. Values greater than 0 are only +> meaningful when tofi is anchored to a single edge. +> +> Default: -1 + **output**=*name* > The name of the output to appear on, if multiple outputs are present. diff --git a/doc/tofi.5.scd b/doc/tofi.5.scd index cad1dbb..7e16ea7 100644 --- a/doc/tofi.5.scd +++ b/doc/tofi.5.scd @@ -210,6 +210,15 @@ options. Default: center +*exclusive-zone*=_-1|px|%_ + Set the size of the exclusive zone. A value of -1 means ignore exclusive + zones completely. A value of 0 will move tofi out of the way of other + windows' exclusive zones. A value greater than 0 will set that much space as + an exclusive zone. Values greater than 0 are only meaningful when tofi is + anchored to a single edge. + + Default: -1 + *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 -- cgit v1.2.3