From 630a4367a1afc4bf96347425628b49db0f84bcd7 Mon Sep 17 00:00:00 2001 From: Thierry Schork Date: Thu, 18 Dec 2025 20:23:31 +0100 Subject: [PATCH] - zoom with super + alt + scroll wheel - zerene stacking is tiled by default and not floating --- .config/hypr/hyprland.conf | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index bf51759..296061c 100755 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -179,6 +179,11 @@ bindl = , switch:off:Lid Switch,exec,hyprctl keyword monitor "eDP-1, preferred, # # trigger when the switch is turning on bindl = , switch:on:Lid Switch,exec,hyprctl keyword monitor "eDP-1, disable" +# Desktop zooming or magnifier +bindd = $mainMod ALT, mouse_down, zoom in, exec, hyprctl keyword cursor:zoom_factor "$(hyprctl getoption cursor:zoom_factor | awk 'NR==1 {factor = $2; if (factor < 1) {factor = 1}; print factor * 2.0}')" +bindd = $mainMod ALT, mouse_up, zoom out, exec, hyprctl keyword cursor:zoom_factor "$(hyprctl getoption cursor:zoom_factor | awk 'NR==1 {factor = $2; if (factor < 1) {factor = 1}; print factor / 2.0}')" + + # Move focus with mainMod + arrow keys bind = $mainMod, left, movefocus, l bind = $mainMod, right, movefocus, r @@ -268,6 +273,10 @@ windowrule=float,class:blueman-manager #windowrule=workspace 1 ,class:firefox windowrule = stayfocused,class:(steam),title:(^$) -windowrule = stayfocused,class:(zoom) + +windowrule = stayfocused, title:^(menu window)$, class:^(zoom)$ +windowrule = stayfocused, title:^(confirm window)$, class:^(zoom)$ + +windowrulev2 = tile, class:^(com-zerenesystems-stacker-gui-MainFrame)$ windowrule=tile,title:A Ren'Py Game