Hacker News new | ask | show | jobs
Show HN: Resizer2 – i3/KDE window movement on Windows (github.com)
40 points by alvel 539 days ago
I was really frustrated when I needed to go back to windows after using KDE for a few years, and becoming used to the Meta+Mouse keybinds for resizing and moving windows around, so I made a script for it that lets me use those shortcuts on windows too, maybe someone here finds it useful too?

I also really need help with a name for the project, resizer2 doesn't sound that cool and catchy :(

10 comments

when i see i3, i expect it to be tiling window manager. this is not it.
No it's just for moving/resizing windows, like with floating i3 windows
Gnome supports this too, and I think lots of other Linux window managers as well.

I miss it on Windows.

I used to use AltSnap (https://github.com/RamonUnch/AltSnap) which works extremely well, and supports template snap zones.

Recently I wrote my own and now use that daily instead, which supports similar functionality (alt+drag) but also "zooming" in/out and panning around the desktop

https://github.com/sebmaynard/DPaZ

I've used AltSnap but always found it a bit buggy and bloated with options, my project is extremely opinionated and without any configuration right now, but it changes the system cursors to match what's happening and works better with multiple monitors (you can snap windows between monitors)

DPaZ looks interesting :D

Kudos for shipping, but if you weren't aware, this can be done in a few lines with AutoHotkey[1].

AHK is a very powerful tool if you must use Windows. :)

BTW, you might want to add a license to the project. Otherwise it's technically not usable.

[1]: https://www.autohotkey.com/docs/v2/scripts/index.htm#EasyWin...

I made an ahk version of this a while back :), but had some issues where a lot of game anti cheats started blocking AHK, so I've improved it a bit and made it a native program instead
Now it's has the MIT license too, thanks :)
Quick feedback:

1. Win+LM+RMB doesnt snap windows into Fancyzone zones.

2. Not compatible with RMB gestures. I use StrokePlus.net system-wide, but the same may hold true for in-app gestures.

Otherwise, good job! Been following a relevant issue [0] in PowerToys, but so far, no perfect solution has surfaced yet.

[0] https://github.com/microsoft/PowerToys/issues/269

1. I've ideally wanted it to work with the native zones in windows, and possibly with powertoys' zones too, but they're not really well documented afaik and I haven't been able to get it to work yet. My plan was to just have it work like when you're moving it in windows, move it to a corner to snap to there, and if you hold shift it would place it in a zone. 2. Do you mean swapping LMB and RMB? It uses both mouse buttons so if you use Win+LMB/RMB for something else you'll need to change one of them to not conflict

I've also followed the same issue (and posted this there already too) but wasn't satisfied with any of the alternatives people suggested so I just made my own instead :)

I always describe this as “fluxbox window management”, but u guess it made its way into KDE eventually! I don’t remember it in the KDE2 days at least.

Anyone have a good app that does this for macOS? I use this one which works great but it’s unmaintained so I worry one day it stops working

https://github.com/jmgao/metamove

I use https://rectangleapp.com/ for KDE-like window management on my Macbooks.
Great, I’m willing to recommend it to others around me
This will be so useful! I absolutely love Meta+mouse, but I have to use Windows for work.
barely related but useful to me (save/reload): https://github.com/caoyue/WindowResizer
I've used it a few times, but always had some issues with it and felt it tried to do way too much while not doing some obvious stuff like changing the cursors to reflect what's happening, but it is way more customizable than mine right now
> running Windows

oof..

yeah ik, but it makes it a bit more bearable