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

layouts in gule #43

Open
crypt17 opened this issue Jun 14, 2024 · 2 comments
Open

layouts in gule #43

crypt17 opened this issue Jun 14, 2024 · 2 comments

Comments

@crypt17
Copy link

crypt17 commented Jun 14, 2024

I was wondering if you can considered allowing for the setup of layouts from guile code.

I feel that this feature would allow many things that are now patches to the C code base to be easily implemented

@Frewacom
Copy link
Member

Agreed, it would be nice. However, there is quite a lot of work needed to allow for such scripting capabilities.

@crypt17
Copy link
Author

crypt17 commented Jun 17, 2024

I was thinking of something like a function layout_custom(monitor *m, char *option)

This would just take a monitor and a selector.

It would then compute how many windows needed to be laid out and pass that through to a central guile procedure which would return a list of dimensions so that the wndows could then be laid out.

I do not know the code base well enough yet to know if this would work.

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