Comments (8)
not yet read but just based on your title;
ZSnapMode=0
; Zone snapping strategy
; Set to 0 to snap to the zones pointed by the cursor (default).
; Set to 1 to snap to the zone which center is the nearest from the cursor
; There is always a the InterZone tolerance to snap to several zones.
from altsnap.
Ok, giving this a try
First I create two new "full width" zones
And also I create two testing "drop zones"
Here is what is looks like (See zone list below)
Here is trying to snap this as is
WN8WuefzjG.mp4
With
ZSnapMode=1
Oops, the testing "drop zones" are causing issue
W4tTvKbMRw.mp4
I have now removed them
So, here we have the 8 original zones, plus two wide zones
Here is the result
ycMpvbw6yG.mp4
Here is the behaviour difference, Zsnap
So the following is no longer possible directly
It would be sweet to have custom drop zones that are independant from the actual snap location.
But ZSnapMode=1 is doing mostly what I want thanks !
So, just another suggestion for the backburner but this works for me right now !
Thanks !
Here is the zone list
Zone0=0,1055,3840,2111,
Zone1=0,1,3840,1055,
Zone2=2875,1,3840,1055,
Zone3=1920,0,2875,1055,
Zone4=964,0,1920,1055,
Zone5=0,1,964,1055,
Zone6=1256,1101,1627,1252,
Zone7=1255,868,1626,1019,
Zone8=2875,1055,3840,2110,
Zone9=1920,1055,2875,2110,
Zone10=964,1055,1920,2110,
Zone11=0,1055,964,2110,
Zone12=3406,-1105,3840,-50,
Zone13=3406,-2160,3840,-1105,
Zone14=0,-1105,533,-50,
Zone15=0,-2160,533,-1105,
Zone16=533,-2160,3406,-1105,
Zone17=533,-1105,3406,-50,
Zone18=-1718,1056,0,2111,
Zone19=-1718,1,0,1056,
Zone20=-3152,1,-1718,1056,
Zone21=-3152,1056,-1718,2111,
Zone22=-3840,1056,-3152,2111,
Zone23=-3840,1,-3152,1056,
Zone24=6991,1056,7680,2111,
Zone25=6991,1,7680,1056,
Zone26=5557,1056,6991,2111,
Zone27=5557,1,6991,1056,
Zone28=3840,1056,5557,2111,
Zone29=3840,1,5557,1056,
from altsnap.
However I would like to be able to have a larger snap zone of the full width, top and bottom
You can Hold Ctrl and extend the window to several zones.
You can change snap layout with a command lie parameter.
Also I do not understand your layout, you should only have 8 zones + 2 large zones + 2 thinny cute windows = 12 zones, not 30!
from altsnap.
Thanks !
I just tried with CTRL but the "wide overlapping" zones override the CTRL
It is not a big deal, but I think it is the wide zones or the center zones but switching better probably can't be done on the fly.
Except maybe switching the Zsnapmode via the command line. But I don't have an obvious way to trigger this change in an ergonomic way. So in those cases I will just resize the window.
As for my zones, I cropped out the other monitors for brevity but forgot to remove them from the zone definition
Here is what the whole looks like
from altsnap.
There are also the while moving actions.
Setting a button to maximize vertically will resize the window horizontally while snapping (shift invert).
I snap the window into the left upper zone and then press MB5 while still holding the window with shift+leftclick:
snap.mp4
from altsnap.
I am not sure what the issue is with your snap layout, but AltSnap will choose the union of all rectangles which center are within the InterZone tolerance. So in your case everything is logically expected.
When you aim between the two top-middle zones, then you are precisely pointing at the zone that covers the whole top-half screen (defined in your zones), and when you aim at the very middle of the screen, the closest zones are the two wide ones and the union of both of them is the whole screen.
from altsnap.
In your case you might be interested in using UseZones=5
and then only define non-overlapping zones and then the window will extend automaically when you drag the cursor without having to bother with Ctrl. the final rectangle will be the union of the rectangle your cursor starts in and the one you finish with (a bit like e selection rectangle).
from altsnap.
Thanks for mentionning the InterZone setting
I bumped that to
InterZone=128
For my 4K screen and it has become much more please to snap accross sections.
It took some taking used to. But now I can even snap the middle regions with some fiddling and CTRL.
I didn't enables Zones=5 as most of the time I don't want to stretch accross all zones that I pass over while in snap mode
Rtzk0os9q2.mp4
from altsnap.
Related Issues (20)
- Add "Scroll pressed" action HOT 3
- AltSnap can make some windows (Firefox) pulsate after snapped HOT 3
- AltSnap and office applications: Black square boxes with letters appears flickering in toolbar while resizing. HOT 2
- Windows always snap, no matter AltSnap settings.
- Feature Request : Autoborderless zone-snapped windows (minus blacklist) ? HOT 1
- Resize windows from center - like osx [Feat] HOT 5
- Cant seem to clear shortcut keys - keyboard tab [v1.63] HOT 8
- Feature request : reload config explicitly option in systray context menu HOT 2
- [bug?] Snapping after Alt-Tab doesn't work. HOT 3
- Fix minimize action HOT 1
- [question] how to bring window to front after Alt-Click-MouseMove? HOT 2
- Intermittently stops interacting with windows HOT 3
- Move to left/right/top/bottom zoone limitation HOT 2
- Compatibility with Komorebi HOT 4
- Add UIAccess flag to allow managing admin windows without running as admin HOT 10
- Chocolatey packaget not updating HOT 10
- PiercingClick doesn't work on windows11? HOT 5
- Cursor can't left-click until a right-click is issued HOT 22
- Centering a window is misaligned
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from altsnap.