top | item 42536181

Show HN: Resizer2 – i3/KDE window movement on Windows

40 points| alvel | 1 year ago |github.com

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 :(

19 comments

order

tuananh|1 year ago

when i see i3, i expect it to be tiling window manager. this is not it.

alvel|1 year ago

No it's just for moving/resizing windows, like with floating i3 windows

sebmaynard|1 year ago

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

alvel|1 year ago

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

imiric|1 year ago

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...

alvel|1 year ago

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

Klaster_1|1 year ago

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

alvel|1 year ago

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 :)

jitl|1 year ago

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

HiPHInch|1 year ago

Great, I’m willing to recommend it to others around me

LorenDB|1 year ago

This will be so useful! I absolutely love Meta+mouse, but I have to use Windows for work.

QuiCasseRien|1 year ago

alvel|1 year ago

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

devops99|1 year ago

> running Windows

oof..

alvel|1 year ago

yeah ik, but it makes it a bit more bearable