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 "window swallowing" #286

Open
notmentaloutlaw opened this issue Apr 16, 2024 · 4 comments
Open

Add "window swallowing" #286

notmentaloutlaw opened this issue Apr 16, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@notmentaloutlaw
Copy link

Window managers like dwl, dwm, hyprland all include an option called window swallowing. It makes it so that if you were to spawn an application from a terminal for example (or another application) the new spawned application will replace the current one in view. However, if you close this application you will return back to the previous one. This can be set to only allow swallowing from a certain application (a terminal) or all applications.

It would be a very good feature for workflows.

@notmentaloutlaw notmentaloutlaw added the enhancement New feature or request label Apr 16, 2024
@ErikReider
Copy link
Collaborator

Seems like something that can be done through IPC

@notmentaloutlaw
Copy link
Author

how would I be able to do that?

@ErikReider
Copy link
Collaborator

how would I be able to do that?

Haven't really needed this myself, but a quick google brought me to this script. Not sure about how well this works, though.

@WillPower3309 any input?

@adityavishwakarma69
Copy link

how would I be able to do that?

Haven't really needed this myself, but a quick google brought me to this script. Not sure about how well this works, though.

@WillPower3309 any input?

that script puts the terminal in scratchpad and when the process ends it expands the terminal again doesn't do anything special

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants