Hello, suckless community!

I have created a patch for the current dwm (commit
6af273771cb0e28e4394c78ab0322f77025a57f3).
It excludes (and toggles back again) currently focused window from
MODKEY+j, MODKEY+k change focus cycle.

How do I use it: I open many terminals and actively work in 2 or 3 of them.
The rest shows some useful info, docs, etc. I exclude them and my windows
switching cycle became much shorter, only between my main 2 windows. When I
need to focus the ignored window, I alsays can do it with a mouse.

Just bind toggleignore() in your config.h. Here is mine:
        { MODKEY|ShiftMask,             XK_i,      toggleignore,   {0} },

Maybe, some of you also will find this patch useful. ; )

Patch is in the attachment.

Attachment: dwm-6af2737-toggleignore.diff
Description: Binary data

Reply via email to