swallow function - bakkeby/dusk GitHub Wiki

Function Expected argument Default keybinding
swallow N/A N/A

The swallow function allows the user to force the selected client to swallow all the marked clients.

In practice what this means that if you mark one client and trigger swallow on another then the currently focused window will remain (having swallowed the marked client).

Triggering swallow when no clients are marked is a no-op.

Swallowed clients are stored in a linked list which allows for a client to swallow more than one window. Technically it is perfectly fine for a client that has swallowed multiple windows to again be swallowed by another client that also has swallowed multiple windows - the linked lists will simply merge in this situation.

Refer to the Marking topic for how to mark clients.

There are no default keybindings for this function.

External commands:

$ duskc run_command swallow      # swallow all marked clients

Also see the unswallow function.

Back to Functions > Swallow.

⚠️ **GitHub.com Fallback** ⚠️