koekeishiya / yabai

A tiling window manager for macOS based on binary space partitioning
MIT License
24.18k stars 646 forks source link

alt and mouse buttons to drag windows #2136

Closed aspauldingcode closed 8 months ago

aspauldingcode commented 9 months ago

Using the modifier for moving and resizing windows as "alt" makes problems with clicking another window. Causes the previous window to hide. Probably a macOS default behavior. It needs to be worked around, and currently fixable by just using control or cmd instead.

Ideally I could use alt.

aspauldingcode commented 9 months ago

Might need to implement some sort of macro.

aspauldingcode commented 8 months ago

Also, Karabiner Elements doesn't have a keybind remap for mouse and keyboard buttons together, so that one didn't work there. I also tried to do something with skhd, and I don't think I can.

24unix commented 8 months ago

Since HyperDock isn't working any longer with current macOS I use Rectangle Pro for window movement, plays nicely with Yabai.

aspauldingcode commented 8 months ago

use Rectangle Pro

I prefer not to. Sounds like a great solution for many. I just want to use alt instead of cmd to move and resize a window. They way yabai currently does this works wonderfully for me right now - almost exactly the same UX as using swayfx on my Linux Desktop.

koekeishiya commented 8 months ago

Same issue as https://github.com/koekeishiya/yabai/issues/1809

24unix commented 8 months ago

use Rectangle Pro

I prefer not to. Sounds like a great solution for many. I just want to use alt instead of cmd to move and resize a window. They way yabai currently does this works wonderfully for me right now - almost exactly the same UX as using swayfx on my Linux Desktop.

I like to move/resize the window without clicking a button, just hold alt to move, ctrl to resize. I didn't find a way yet to do that with Yabai.

koekeishiya commented 8 months ago

Fixed in v7.0.0.