From c35248f9f581734d1e1b37d841300c7ad66a79c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20La=C3=ADn?= Date: Tue, 25 Mar 2025 14:20:29 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat(hypr):=20bindings=20to=20zoom?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/hypr/configs/binds.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.config/hypr/configs/binds.conf b/.config/hypr/configs/binds.conf index 9df3b975..7d0a8943 100644 --- a/.config/hypr/configs/binds.conf +++ b/.config/hypr/configs/binds.conf @@ -208,3 +208,7 @@ bind = $mainMod SHIFT, ESCAPE, exec, $scripts/hyprfreeze -a ## Open Wikis bind = $mainMod, F1, exec, xdg-open https://wiki.hyprland.org/ + +## Zoom +bind = $mainMod SHIFT, mouse:276, exec, hyprctl -q keyword cursor:zoom_factor $(hyprctl getoption cursor:zoom_factor | awk '/^float.*/ {print $2 + 0.5}') +bind = $mainMod SHIFT, mouse:275, exec, hyprctl -q keyword cursor:zoom_factor $(hyprctl getoption cursor:zoom_factor | awk '/^float.*/ {print $2 - 0.5}')