omarchy icon indicating copy to clipboard operation
omarchy copied to clipboard

How to disable scaling hotkey?

Open ChuckNorrison opened this issue 5 months ago • 6 comments

System details

AMD Ryzen 7 5800H

What's wrong?

I tried several hours to tweak my bindings.conf to increase and decreae window size with SUPER + PLUS and SUPER + MINUS. On SUPER + MINUS, it results in "Display scaling set to 1.25x" and so on. I cant find where this hotkey is specified.

this was my final try in SYSTEM -> KEYBINDINGS

  68   unbind = SUPER, code:20
  69   unbind = SUPER, code:21
  70   unbind = SUPER SHIFT, code:20
  71   unbind = SUPER SHIFT, code:21
  72   unbind = SUPER, minus
  73   unbind = SUPER, plus
  74   unbind = SUPER SHIFT, minus
  75   unbind = SUPER SHIFT, plus
  76
  77   # Zoom komplett deaktivieren
  78   exec-once = hyprctl keyword cursor:zoom_factor 1
  79
  80   bindd = SUPER, plus,  window size increase, resizeactive,  100 0
  81   bindd = SUPER, minus, window size decrease,  resizeactive, -100 0

Cant join discord for support "unable to accept invite"

ChuckNorrison avatar Jun 04 '26 16:06 ChuckNorrison

this is the default in ~/.local/share/omarchy/default/hypr/bindings/utilities.conf

bindd = SUPER CTRL, Z, Zoom in, exec, hyprctl keyword cursor:zoom_factor $(hyprctl getoption cursor:zoom_factor -j | jq '.float + 1')
bindd = SUPER CTRL ALT, Z, Reset zoom, exec, hyprctl keyword cursor:zoom_factor 1

so you need to do something like

unbind = SUPER CTRL, Z, Zoom in, exec, hyprctl keyword cursor:zoom_factor $(hyprctl getoption cursor:zoom_factor -j | jq '.float + 1')
unbind = SUPER CTRL ALT, Z, Reset zoom, exec, hyprctl keyword cursor:zoom_factor 1

bindd = SUPER SHIFT, equal, Zoom in, exec, hyprctl keyword cursor:zoom_factor $(hyprctl getoption cursor:zoom_factor -j | jq '.float + 1')
bindd = SUPER ,minus, Reset zoom, exec, hyprctl keyword cursor:zoom_factor 1

Rockeyxx avatar Jun 05 '26 00:06 Rockeyxx

This does not disable the zoom feature on SUPER + MINUS for me. Any other ideas to disable it? SUPER + MINUS is now zooming and resizing at the same time.

ChuckNorrison avatar Jun 05 '26 14:06 ChuckNorrison

I think it is code:61 = /, code:20 = - I did this to have / to resize window:

unbind = SUPER, code:61
unbind = SUPER ALT, code:61
unbind = SUPER, code:20
bindd = SUPER, code:20, Cycle monitor scaling, exec, omarchy-hyprland-monitor-scaling-cycle
bindd = SUPER ALT, code:20, Cycle monitor scaling backwards, exec, omarchy-hyprland-monitor-scaling-cycle --reverse
bindd = SUPER, code:61, Expand window left, resizeactive, -100 0

hikarisakamoto avatar Jun 05 '26 22:06 hikarisakamoto

Remapped to SUPER + ALT + HJKL to resize windows

Would be nice to be able to simple disable this zoom feature. btw. iam using QWERTZ Layout.

ChuckNorrison avatar Jun 06 '26 10:06 ChuckNorrison

I think now the issue would be mostly on hyperland

hikarisakamoto avatar Jun 06 '26 14:06 hikarisakamoto

I use

hl.unbind("SUPER + code:61")
o.bind("SUPER + SLASH", "Passwords", { launch = "bitwarden-desktop" })

Adjust for pre-lua.

neheb avatar Jun 08 '26 01:06 neheb