Re: [wmii] new snap: 20051215

From: Adam Gleave <nard.list_AT_gmail.com>
Date: Fri, 16 Dec 2005 10:15:33 +0000

On 16/12/05, Jani H. Lahtinen <jani.h.lahtinen_AT_nokia.com> wrote:
<snip>
> >- The indexes begin at 0 now, not at 1. This is just taste, but
> > I like it.
> >
> >
> The problem is that when I navigate between the desktops with
> mod+S+[num] with less than 10 desks the key to the first desk is far on
> the right and the rest are on the left. Can I change this back somewhere?
>

If you look at wmiirc, you should find the following (I'm using hg
latest, not the snap so it *could* be different):

for(i in 0 1 2 3 4 5 6 7 8 9) {
    kbind normal $MODKEY-S-$i 'wmiir write /wm/ctl ''select '^$i^''''
}

It can be replaced with:

for(i in 1 2 3 4 5 6 7 8 9) {
    p=`{expr $i - 1}
    kbind normal $MODKEY-S-$i 'wmiir write /wm/ctl ''select '^$p^''''
}

Note that the pages still start at 0 but you select them differently.

--
Adam Gleave
Received on Fri Dec 16 2005 - 11:15:35 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:59:38 UTC