Re: [dwm] Keybinding to jump to next/prev tag?

2009-04-16 Thread Preben Randhol
> This might be what your looking for, currently it's setup to use Mod +
> arrow left and right. Not sure if this is the best way to do it but it
> worked for a friend who was looking for it's behavior.
>
> http://bsdgroup.org/files/dwm-5.4-arrownav.diff

Brilliant. I just put the functions in a separate file (not having to
patch dwm) and including them from config.def.h and it worked. Even wraps
around which is what I wanted too :-)

Thanks!

Preben





Re: [dwm] Keybinding to jump to next/prev tag?

2009-04-15 Thread James Turner
On Wed, Apr 15, 2009 at 10:37:55PM +0200, Preben Randhol wrote:
> Hi
> 
> I have one more question. I'm used to keybindings from going to the
> next or previous workspace (tag). Is there any that has a working
> patch/function so that one can f.ex bind Mod4-Shift-j/k to go to
> next/prev tag? I can of course use the Mod4-number to jump, but
> sometimes it is nice to just be able to jump to the next or prev tag
> (apart from Mod4-Tab of course)
> 
> Thanks in advance
> 
> Preben

This might be what your looking for, currently it's setup to use Mod +
arrow left and right. Not sure if this is the best way to do it but it
worked for a friend who was looking for it's behavior.

http://bsdgroup.org/files/dwm-5.4-arrownav.diff

-- 
James Turner
BSD Group Consulting
http://www.bsdgroup.org



[dwm] Keybinding to jump to next/prev tag?

2009-04-15 Thread Preben Randhol
Hi

I have one more question. I'm used to keybindings from going to the
next or previous workspace (tag). Is there any that has a working
patch/function so that one can f.ex bind Mod4-Shift-j/k to go to
next/prev tag? I can of course use the Mod4-number to jump, but
sometimes it is nice to just be able to jump to the next or prev tag
(apart from Mod4-Tab of course)

Thanks in advance

Preben