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

Send a window to another context #2

Open
franalbani opened this issue Dec 28, 2022 · 2 comments
Open

Send a window to another context #2

franalbani opened this issue Dec 28, 2022 · 2 comments

Comments

@franalbani
Copy link

I've just installed this and everything worked as the documentation said it will. This is something incredible for a repository 6 years old. Only seen with Haskell.

I'm starting to test it and the first thing I wanted to do is send a window to another context. Can this be done? It does not seem to be possible reading the API.

Thank you @Procrat !

@Procrat
Copy link
Owner

Procrat commented Dec 31, 2022

Hi @franalbani! Great to hear people are still somehow finding this after so long! Out of curiosity, can I ask how you came across this repo?

There's no API for it at the moment indeed, but it seems pretty easy and a reasonable thing to want. Since this extension otherwise doesn't mess around with the windows and workspaces within a context (a WindowSet as XMonad calls it), I was thinking of perhaps having a function like modifyContext contextName modifyWS :: String -> (WindowSet -> WindowSet) -> X ()? Then you have full control really and you can choose e.g. which workspace you want to send the window to.

I can't promise I will have time to implement this anytime soon. If you're happy to try, feel free to implement it and send a PR along 😁

@franalbani
Copy link
Author

I don't remember. I may even have searched "xmonad contexts" directly.

Are you still using xmonad and xmonad-contexts?

I will try your suggestion! Thanks!

I will open more issues with more ides so you can comment.

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