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
feature request: layouts #17
Comments
I think this ties into what was discussed in #119 for the tiling window features. Found https://www.hammerspoon.org/docs/hs.window.layout.html today which might be useful for that or implementing our version with that API. Didn't look at it too deeply yet. The key question that comes to mind though is how should we store it? I'm leaning towards a JSON file in |
I wrote this issue when there was no prospect of tiling WM anywhere on the horizon. I think the scope of this ticket would change significantly. Maybe let's put a pin in it for now? |
That's fine. I do have a working implementation I've been using for a year or so https://github.com/eccentric-j/dotfiles/blob/f309465a098bd50bec9ab559626b7fa7ce36948d/spacehammer/layouts.fnl. I wasn't sure how to best incorporate it because these layouts are clearly defined against my grid settings and personal preference. If people are interested in this, I could create a simple higher-order-function for taking a grid string to apply a layout. Also of note, applying a layout once applies it to the current screen, applying it again will apply it to the next screen and any further repeats will cycle through screens until another layout is applied or another window is targeted. |
Would be nice to have window layouts or workspaces that can be persisted and restored at will.
The text was updated successfully, but these errors were encountered: