[dev] Re: [dwm] [patch] Focus on a window by number

From: Ivaylo Kuzev <ivkuzev_AT_gmail.com>
Date: Sun, 25 Nov 2012 10:25:56 +0000 (UTC)

Marshall Mason <marshallmason2 <at> gmail.com> writes:

>
> I just started using dwm, and I'm starting to get used to the tiled
> way of doing things. In Openbox, I had a little utility program that
> allowed me to jump to the exact window I want, by number. It's
> incredibly useful when there are a lot of windows open, rather than
> cycling through them with MODKEY+j. Just as you can jump to a tag with
> MODKEY+#, this patch allows you to jump to a specific window within a
> given tag. This is especially useful in tiling mode, because all the
> windows are visible and organized, so it's much clearer which number
> to use to get to a certain window.
>
> Here's how to configure it:
> { MODKEY, XK_F1, focusnumber, {.i = 1 } },
> { MODKEY, XK_F2, focusnumber, {.i = 2 } },
> ...
>
> Thanks for developing such a slim, powerful window manager.
>
> Marshall
> >
>
>
 
I use a similar patch
https://github.com/gerner/dwm/blob/master/patches/focusbyindex.README.md with
another one
https://github.com/gerner/dwm/blob/master/patches/dwm-5.9-spawnend.diff add
Spawned windows to end of client list.

Ivo
---
Received on Sun Nov 25 2012 - 11:25:56 CET

This archive was generated by hypermail 2.3.0 : Sun Nov 25 2012 - 12:00:07 CET