Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More resizing break points #11

Closed
rjhilgefort opened this issue Jan 17, 2019 · 3 comments
Closed

More resizing break points #11

rjhilgefort opened this issue Jan 17, 2019 · 3 comments

Comments

@rjhilgefort
Copy link

I love this plugin, so thank you for that! I often find that I would like to have more break points when I'm resizing a window. I think there are 3 sizes currently. I was wondering if there is a setting I could use to add more sizes or if you could point me to where I could make the update in my own setup?

@rjhilgefort
Copy link
Author

@a7hybnj2 Thanks! I see that local obj={} is the root object- does that mean that it's only defined local to that file? Do you know if I have a way to override this from my init.lua?

@rjhilgefort
Copy link
Author

Ah, I was able to do what I was looking for by targetting the object name and reassigning sizes like this:

spoon.MiroWindowsManager.sizes = { 6/5, 4/3, 3/2, 2/1, 3/1, 4/1, 6/1 }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants