Hyprland icon indicating copy to clipboard operation
Hyprland copied to clipboard

Feat Req: Window swallowing

Open UtkarshVerma opened this issue 1 year ago • 1 comments

Would it be possible to have the window swallowing feature in Hyprland?

What is window swallowing?

Whenever a GUI app is launched through the terminal, the compositor/WM will instantly hide the terminal window and spawn the GUI app window in its place.

A basic implementation

We can have a window rule for marking a window as a terminal application. Then, whenever such a process tries to spawn another window, we can simply have the new window swallow the terminal window.

Demo

https://www.youtube.com/watch?v=92uo5OBOKfY

UtkarshVerma avatar Aug 24 '22 06:08 UtkarshVerma

Personally I use grouped/tabbed as a solution to window swallowing. However as that solution is not completely perfect, I would prefer proper window swallowing as well.

NomisIV avatar Sep 12 '22 07:09 NomisIV

If i want to open current directory in vscode while i'm in a terminal, i use an alias that runs code . & disown && exit VSCode opens, my terminal closes. Is it what you're looking for ?

pomarec avatar Sep 30 '22 14:09 pomarec

a97621b1cb203b0e3a7dd07d88c5422b798cbfd8

vaxerski avatar Oct 01 '22 18:10 vaxerski