Skip to content

incnstack

Bakkeby edited this page Feb 27, 2024 · 3 revisions
Function Expected argument Default keybindings
incnstack int, e.g. 1 or -1 Super+Ctrl+i, Super+Ctrl+u

The incnstack function increases or decreases the number of clients in the primary stack area for dual stack layouts.

incnstack.gif

More precisely it changes the nstack variable for the current workspace, which is used by layouts that have dual stack areas (e.g. centered master).

If nstack is 0 then clients are divided evenly between the stack areas.

If the layout does not have a dual stack then the value of nstack is not taken into account.

The default keybindings are to use Super+Ctrl+i to increase nstack and Super+Ctrl+u to reduce it.

External commands:

duskc run_command incnstack 1   # increases the number of clients in the primary stack area by one
duskc run_command incnstack -1  # reduces the number of clients in the primary stack area by one

Also see the incnmaster function.

Back to Functions > Tiled.

Clone this wiki locally