Re: [wmii] wm 3 stable feature request

From: Kris Maglione <bsdaemon_AT_comcast.net>
Date: Tue, 30 May 2006 23:22:08 -0400

next:
wmiir read /tags |
awk -v cur=`wmiir read /view/name` \
    'NR==1{tag=$0}
     $0==cur { if (getline) tag=$0; printf; exit }'

prev:
wmiir read /tags | sort -r |
awk ...

On Wed, May 31, 2006 at 02:30:38AM +0200, Ren?? Wilhelm wrote:
>On Mon, 29 May 2006 15:29:49 +0300
>kkapelon_AT_freemail.gr wrote:
>
>> 1) Have the mouse wheel when used on the bar
>> to change the view to previous/next.
>
>How did you achieved to do this? Some time ago i tried to write a sh
>script to do this for me. I thought about putting the output of 'wmiir
>read /tags' into an array and using 'wmiir read /view/name' to get my
>current used view in the array, then referring to array[view+n] or
>array[view-n] to get my new view. with n being the parameter passed to
>the script.
>
>long story made short, i didn't succeeded in the first try writing the
>script did not put anymore work in it. so if you got something useful,
>you could make me happy.

-- 
Kris Maglione
The simpler the instruction, e.g. "press here", the
more difficult it will be to open the package.
Received on Wed May 31 2006 - 05:22:40 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 16:07:25 UTC