Re: [dev] Wmii - wmiirc from 3.5 not working on 3.9

From: zweifel <zweifel_AT_gmail.com>
Date: Sun, 26 Sep 2010 13:05:26 -0300

Thanks Kris, I am pasting below the most important part of a modified diff
between my customization and the default from the wmiirc from the 3.5
version:

6,9c6,9
< MODKEY=Mod1
< UP=Up
< DOWN=Down
< LEFT=Left
< RIGHT=Right
13,14c13
< WMII_FOCUSCOLORS='#ffffff #407f06 #40df06'
17c16
< WMII_FONT='fixed'
20c19
< WMII_MENU="dmenu -b -fn '$WMII_FONT' -nf '$1' -nb '$2' -sf '$4' -sb '$5'"
22,23c21
< WMII_TERM="gnome-terminal"
33d30
< /Gimp.*/ -> ~
35d31
< /XV.*/ -> ~
129c125
< Key Control-Return
< eval $WMII_TERM &
131,135d126
< Key $MODKEY-Control-Return
< eval xlock &
< Key $MODKEY-Control-$UP
< ./clean
< wmiir xwrite /ctl quit
138,139d128
< Key $MODKEY-Control-p
< import -window root /tmp/screenshot.jpg
142,144c131
< Key $MODKEY-Control-l
< wmiir xwrite /client/view/ctl select next
< Key $MODKEY-x
162,171c149,150
< Key $MODKEY-$RIGHT
< i=`wmiir read /ctl| cut -d ' ' -f 2| head -n 1`
< i=$(($i+1))
< wmiir xwrite /ctl view "$i"
< Key $MODKEY-$LEFT
< i=`wmiir read /ctl| cut -d ' ' -f 2| head -n 1`
< i=$(($i-1))
< wmiir xwrite /ctl view "$i"
258,267d236
< firefox &

If you can help me translating this into the wmiirc_local or pointing me to
a place which could help me, it would be awesome.

cya,
zweifel

2010/9/24 Kris Maglione <maglione.k_AT_gmail.com>

> On Fri, Sep 24, 2010 at 04:30:46PM -0300, zweifel wrote:
>
>> Hi guys,
>>
>> As the title says, I had an old wmiirc with some nice features which is
>> currently not working on the 3.9.2 version.
>>
>> I searched for some way of importing this wmiirc or maybe a changelog with
>> some information on how to proceed. But did not find anything.
>>
>> If someone can help me, it would be really nice (and then I can stop using
>> wmaker in this computer :) ) . I am attaching the wmiirc itself.
>>
>
> I think you might be better off just migrating your customizations to the
> stock wmiirc. It would be a lot easier. At any rate, I think your main
> problem is that wmiiloop has been replaced by a function in wmii.sh. In
> fact, if you cut out the customization that are important to you, I'll
> format them as a wmiirc_local file for you.
>
> --
> Kris Maglione
>
> Get and set methods are evil.
> --Allen Holub
>
>
>
Received on Sun Sep 26 2010 - 18:05:26 CEST

This archive was generated by hypermail 2.2.0 : Sun Sep 26 2010 - 18:12:02 CEST