Sway: [Feature request] Window swallowing

Created on 8 Jun 2020  路  2Comments  路  Source: swaywm/sway

This is a feature from a dwm patch: https://dwm.suckless.org/patches/swallow/

The behaviour is explained in this video: https://www.youtube.com/watch?v=92uo5OBOKfY

Basically, everytime we open a gui app from terminal, the original terminal is hidden until the gui window is closed. Most apps would benefit from launching this way, except some use case which is why a configurable blacklist might be useful.

All 2 comments

Sorry, we won't add new window management features unless i3 adds them too.

@avrelaun You do something similar in Sway using tabs or stacked windows. With your terminal window focused, use the keybindings for split vertical followed by layout tabbed. Bind the combination to a single key if you'd like. Now launch whatever GUI app you want from the terminal. It will appear in a new tab that covers the terminal. When the GUI app exits, you'll be back at the the terminal. No need to repeat setting up tabbed mode again for that terminal session.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ddevault picture ddevault  路  4Comments

mcmfb picture mcmfb  路  3Comments

RyanDwyer picture RyanDwyer  路  3Comments

cauebs picture cauebs  路  3Comments

WhyNotHugo picture WhyNotHugo  路  3Comments