Skip to content

magnify

fdev31 edited this page Apr 20, 2024 · 21 revisions

Command

  • zoom [value]: if no value, toggles magnification.
    • If an integer is provided, it will set as scaling factor.
    • If this integer is prefixed with "+" or "-", it will update the current scale factor (added in version 2.1.4).

Configuration

factor (optional)

default value is 2

Scaling factor to be used when no value is provided.

Example

pypr zoom  # sets zoom to `factor` (2 by default)
pypr zoom +1  # will set zoom to 3x
pypr zoom  # will set zoom to 1x
pypr zoom 1 # will (also) set zoom to 1x - effectively doing nothing

Tip

In versions > 2.2.9 you can use an exponential scale for a more linear feeling on the zooming, using "++" or "--", for example:

pypr zoom ++0.5

duration (optional)

Added in version 2.2.9

Default value is 15

Duration in tenths of a second for the zoom animation to last, set to 0 to disable animations.

Clone this wiki locally