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

Add ability to make app 'almost' fullscreen. #295

Open
ryanpcmcquen opened this issue Nov 12, 2018 · 3 comments
Open

Add ability to make app 'almost' fullscreen. #295

ryanpcmcquen opened this issue Nov 12, 2018 · 3 comments

Comments

@ryanpcmcquen
Copy link

ShiftIt solves 99% of my windowing needs, but I still keep Moom around for one thing, making an app 'almost' fullscreen, meaning it takes up 90% of the screen with padding on each side. I like to do this with some apps because then I can easily click over to the apps behind it. I'm not sure what you would call this, but if there was an option for this it would make ShiftIt perfect to me.

Here's what the setting looks like in Moom:
screen shot 2018-11-12 at 9 47 28 am

@ryanpcmcquen
Copy link
Author

Better Window Manager also has something similar called Centered Large:
screen2

@derekwyatt
Copy link
Contributor

This can be done pretty easily with Hammerspoon. If you take a look at https://github.com/derekwyatt/dotfiles/blob/3d0887a/hammerspoon-init.lua#L71 you should see the definition of center that you can tune to your heart's content. If you want it to have a 5% border of open desktop around the app, for example, then:

center = { x = 0.05, y = 0.05, w = 0.90 h = 0.90 }

@ryanpcmcquen
Copy link
Author

@derekwyatt, that is amazing! I really need to switch to HammerSpoon ...

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