Comments (4)
@berry I am looking to accommodate this as well in some fashion. In the code, we see:
--- MiroWindowsManager.fullScreenSizes
--- Variable
--- The sizes that the window can have in full-screen.
--- The sizes are expressed as dividend of the entire screen's size.
--- For example `{1, 4/3, 2}` means that it can be 1/1 (hence full screen), 3/4 and 1/2 of the total screen's size
obj.fullScreenSizes = {1, 4/3, 2}
--- MiroWindowsManager.GRID
--- Variable
--- The screen's size using `hs.grid.setGrid()`
--- This parameter is used at the spoon's `:init()`
obj.GRID = {w = 24, h = 24}
Naively, I modified the obj.fullScreenSizes
to include values like 5/4
as a test to see if I could get an 80% coverage with a particular window. It didn't work - when cycling, it either made the window full-size or 75% depending on what was in the variable.
After, I played with the obj.GRID
value to see if there was some rounding going on. I made it as high as 512x512 to no avail.
The function in question is function obj:_nextFullScreenStep()
, but I can't conceive of what is going on in that function well enough to understand why my naive approach didn't work.
@miromannino can you enlighten us?
from miro-windows-manager.
I found this thread and comment and tried exactly that same approach instead of my own, and it didn't work. I had no other option but fullscreen.
from miro-windows-manager.
Aha. It all works as expected if one disables Stage Manager, rather defeating the purpose...
Well, I'm not sure why, but after cycling Stage Manager off and back on, and using the following configuration in ~/.hammerspoon/init.lua
:
spoon.MiroWindowsManager.sizes = { 6/5, 4/3, 3/2, 2/1 }
spoon.MiroWindowsManager.fullScreenSizes = { 1, 6/5, 4/3, 3/2 }
I've got something that approximately does what I want when interacting with Stage Manger. FYI @berry
from miro-windows-manager.
Thank you for looking into this. I am currently using this setting:
spoon.MiroWindowsManager.sizes = {12/4, 12/11, 12/6, 12/8 }
It works quite well. But, it would be nice if you could distinguish between the on and off status of stagemanager.
from miro-windows-manager.
Related Issues (20)
- 13" mbp monitor issue HOT 12
- More resizing break points HOT 3
- Auto-align after resolution / monitor change HOT 5
- love this HOT 2
- Caps mapped to control does not handle "up"+"down" HOT 3
- Add ability to "center right" and "center left"
- Remove .zip from repo and just link to Github package instead
- Certain apps do not cycle through all vertical windows sizes HOT 6
- Thank you, this is exactly what I wanted! HOT 1
- Allow Mac Full Screen HOT 2
- 60/40 split HOT 6
- Multiple bindings?
- Fullscreen blocks miro HOT 1
- "fullscreen" sizes are too wide on a widescreen display. HOT 1
- Having issues with getting back to full height after moving to corners
- Can't figure out how to bind to modal HOT 1
- Add ability to center window HOT 3
- Sometimes maximize vertical does not trigger HOT 2
- maximise vertically after centering HOT 1
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 miro-windows-manager.