Re: [wmii] [ANN] New snap, major changes: wmii+ixp-20080120

From: Ruben Gonzalez Arnau <ruben_AT_websbarcelona.com>
Date: Tue, 22 Jan 2008 22:40:36 +0100

Kris Maglione wrote:
> On Mon, Jan 21, 2008 at 06:53:58PM +0100, Ruben Gonzalez Arnau wrote:
>> Right, copying this file works for me too, also, new snap does not
>> read my
>> $home/.wmii-3.5/rc.wmii.local any idea about that?
>
> That's odd. It works here. Try opening terminal with rc and doing:
>
> % . wmii.rc
> % wi_script rc.wmii.local
>
> If that doesn't give you the path to your rc.wmii.local, that's the
> problem. In that case, try echoing $WMII_CONFPATH and making sure it
> points to ~/.wmii-3.5. If it does, make sure that you're actually
> running rc.wmii. If it turns out you're not, try:
>
> % wmii9rc; echo $? # In a bourne-ish shell.
>
Hello again and sorry for delay.

I use Gentoo Linux, maybe the snap works on other OS like *BSD or others
distros.

With new snap I see wmii with a strange line in the middle, also some
shortcuts works and others don't,also now it reads my rc.wmii.local, but
some things does not work like 'putting old green theme'.

http://www.websbarcelona.com/ruben/wmii-snap.jpg

Running startx I see this awk warning, maybe helps too.

Errors from xkbcomp are not fatal to the X server
SetClientVersion: 0 9
awk: warning: escape sequence `\.' treated as plain `.'

my rc.wmii.local:

# WMII GREEN I am very happy with the old color scheme :)
WMII_FOCUSCOLORS=('#ffffff' '#153F1F' '#2A7F3F')
WMII_BACKGROUND='#333333'
WMII_NORMCOLORS=('#222222' '#5FBF77' '#2A7F3F')

MODKEY=Mod4

# Overrides

# Tagging Rules
wmiir write /tagrules <<!
ETC
/XMMS/ -> ~
/Gimp.*/ -> gimp
/Amsn/ -> ~
/Amsn/ -> msn
/XMMS/ -> ~
/XMMS/ -> media
ETC
/.*/ -> !
/.*/ -> 1
!

# Cycle Views from wmii.suckless.org

fn next_tag {
         # | head -1 on wmii3.6 as a workaround
         awk -v curtag'='`{wmiir read /tag/sel/ctl | head -1} '
                 NR==1 {first = $0}
                 $0==curtag { if(getline) print $0; else print first;
exit }'
}

fn Key-$MODKEY-n {
         wmiir xwrite /ctl view `{ read_tags | next_tag}
}
fn Key-$MODKEY-Right {
         wmiir xwrite /ctl view `{ read_tags | next_tag}
}
fn Key-$MODKEY-b {
         wmiir xwrite /ctl view `{ read_tags | sort -r | next_tag}
}
fn Key-$MODKEY-Left {
         wmiir xwrite /ctl view `{ read_tags | sort -r | next_tag}
}

# end Cycle Views

# up & down
fn Key-$MODKEY-Up {
         wmiir xwrite /tag/sel/ctl select up
}
fn Key-$MODKEY-Down {
          wmiir xwrite /tag/sel/ctl select down
}

# tab right & left
fn Key-$MODKEY-Shift-Tab {
          wmiir xwrite /tag/sel/ctl select left
}
fn Key-$MODKEY-Tab {
         wmiir xwrite /tag/sel/ctl select right
}

# Status Bar Info
fn status {
         echo -n `{/bin/date '+%H:%M:%S'}
}
fn Key-$MODKEY-w {
         run_command $home/firefox/firefox
}
fn Key-$MODKEY-t {
         run_command $home/thunderbird/thunderbird
}

fn Key-$MODKEY-Shift-b {
         run_command sleep 1 && slock &
}
fn Key-$MODKEY-Shift-F12 {
         run_command scrot $home/screenshots/$apid.jpg &
}

Thank you :)

Received on Tue Jan 22 2008 - 22:41:22 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 16:34:29 UTC