Skip to content

stackpush

Bakkeby edited this page Feb 27, 2024 · 5 revisions
Function Expected argument Default keybindings
stackpush int Listed separately further down

The stackpush function allows for clients to be to pushed to specific positions in the client stack on a workspace.

Refer to the stacker page for a rundown on setup instructions and how this works.

Below is an explanation for what the default keybindings do.

Default keybindings (when enabled) Description
AltGr+Ctrl+Shift+w Push the client to the first position in the stack
AltGr+Ctrl+Shift+e Push the client to the second position in the stack
AltGr+Ctrl+Shift+a Push the client to the third position in the stack
AltGr+Ctrl+Shift+z Push the client above the last position in the stack
AltGr+Ctrl+Shift+j Push the client down the stack
AltGr+Ctrl+Shift+k Push the client up the stack
AltGr+Ctrl+Shift+s Push the client to the previously selected client

Pushing a client up the stack will make all clients in between cascade down the stack.

External commands:

duskc run_command stackpush 1     # push the client to the first position in the stack
duskc run_command stackpush 2     # push the client to the second position in the stack
duskc run_command stackpush 3     # push the client to the third position the stack
duskc run_command stackpush -1    # push the client above the last position the stack
duskc run_command stackpush 1999  # push the client up the stack
duskc run_command stackpush 2001  # push the client down the stack
duskc run_command stackpush 3000  # push the client to the previously selected client
duskc run_command stackpush 4001  # push to above the first master client
duskc run_command stackpush 4002  # push to above the second master client
duskc run_command stackpush 5001  # push to above the first stack client
duskc run_command stackpush 5002  # push to above the second stack client
duskc run_command stackpush 5003  # push to above the third stack client

Tip: this can also be set up with key modes or key chains when using sxhkd to handle keybindings.

This is intended to be combined with the stackfocus and stackswap commands.

Also see the pushup and pushdown functions.

Back to Functions > Tiled.

Clone this wiki locally