Add ability to make app 'almost' fullscreen.
ryanpcmcquen opened this issue · 3 comments
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.
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 }
@derekwyatt, that is amazing! I really need to switch to HammerSpoon ...