Stacker

Description

This patch provides comprehensive utilities for managing the client stack. It implements two new commands: focusstack (which is a replacement for the original focusstack command) and pushstack. The first one is for focusing clients while the second one moves clients around the stack. Both commands take the same kind of argument:

Default key bindings

There are two parallel sets of bindings: one for the focus* family and the other for the push* family. The keys are the same for both sets but they do differ in the modifiers: simply MODKEY for the focus* family and MODKEY|ShiftMask for the push* family.

Key Argument Description
` PREVSEL Previously selected
j INC(+1) Next to selected
k INC(-1) Previous to selected
q 0 First position
a 1 Second position
z 2 Third position
x -1 Last position

The q, a, z keys are aligned more or less vertically in the us keyboard layout. They are intended to be used as quick positional shortcuts to specific applications. So if you have 9 tags you get 9*3=27 shortcuts in a two-level hierarchy of clients. The ` key is above the Tab key and it’s intended to complement the “move to previously selected tag” function of dwm at the intra-tag level. Finally, the x key is like “I don’t care so much about you just right now but you can still live in this tag”.

Notice that MODKEY|ShiftMask+q collides with the default binding for quitting dwm, which stacker changes to MODKEY|ShiftMask+BackSpace.

Download

Author