diff options
author | Phil Jones <philj56@gmail.com> | 2022-08-20 09:37:40 +0100 |
---|---|---|
committer | Phil Jones <philj56@gmail.com> | 2022-08-20 09:37:40 +0100 |
commit | ea64fc43a6a321fcc7417f35d5ce50a2c7ee9d7e (patch) | |
tree | 07a42f4955c0ec2633558e5bbda6332f77cd5d5c /doc/tofi.5.md | |
parent | aaccdaa155a82bc7a98e4f82fc24415d6dd4e4db (diff) |
Add scale option.
Previously, tofi wouldn't scale pixel values by the output's scale
factor. This allows pixel-perfect sizes on displays with scale factors
>1, but means that configs need to be changed on a per-monitor basis,
and is at odds with how other applications (notable Sway) behave.
This commit adds a new option, --scale, to scale pixel values by the
output's scale factor. For backwards compatibility, this currently
defaults to false, and font scaling is performed regardless (the
existing behaviour). In the next release, this will default to true, and
font scaling will follow the same behaviour as everything else.
Diffstat (limited to 'doc/tofi.5.md')
-rw-r--r-- | doc/tofi.5.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/tofi.5.md b/doc/tofi.5.md index 6de4e60..6eed96d 100644 --- a/doc/tofi.5.md +++ b/doc/tofi.5.md @@ -163,6 +163,17 @@ options. > > Default: "" +**scale**=*true\|false* + +> Scale the window by the output's scale factor. +> +> **WARNING**: In the next version of tofi, this will default to true, +> so set this to false now if you don't want that behaviour. Note that +> currently, font scaling will still occur when this is set to *false* - +> that will change when *true* becomes the default. +> +> Default: false + **margin-top**=*px\|%* > Offset from top of screen. See **PERCENTAGE VALUES** for more |