hyprwm / Hyprland

Hyprland is an independent, highly customizable, dynamic tiling Wayland compositor that doesn't sacrifice on its looks.
https://hyprland.org
BSD 3-Clause "New" or "Revised" License
19.64k stars 829 forks source link

Floating window snapping would be awesome! #3230

Open Oglo12 opened 1 year ago

Oglo12 commented 1 year ago

Description

I often find myself using picture in picture mode to watch YouTube videos whilst programming, and something I always hate is having to line up the pop-up perfectly! I would love to see a feature where windows that move near the edges of the screen or other windows would snap to the edge of the target, and takes a little bit of movement to unsnap. Kind of like what is in most desktop environments and even some floating WMs/compositors. I think this would be an amazing improvement, even for a tiling WM/compositor!

shadowmax31 commented 1 year ago

I'll give it a shot

alaricljs commented 12 months ago

@shadowmax31 are you still working on this? I would love to see this get merged.

shadowmax31 commented 12 months ago

@alaricljs It's done on my part, I've been using it for 2 weeks (on my fork), it works fine. I kinda just don't feel like going through the review process...feel free to take over my merge request if you want :)