-
Notifications
You must be signed in to change notification settings - Fork 24
magnify
fdev31 edited this page Apr 20, 2024
·
21 revisions
-
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).
Sample hyprland.conf:
bind = $mainMod , Z, exec, pypr zoom ++0.5
bind = $mainMod SHIFT, Z, exec, pypr zoomdefault value is 2
Scaling factor to be used when no value is provided.
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 nothingTip
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.5Added 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.