Re: Re: [wmii] multitags

From: <goodluv_AT_gmail.com>
Date: Sun, 09 Apr 2006 14:04:58 -0700 (PDT)

You can always put your titlebars to good use. I have this in my .bashrc
to put the current working dir and hostname in the title:

case $TERM in
                xterm*|rxvt|Eterm|eterm|rxvt-unicode)
                PROMPT_COMMAND='echo -ne "\033]0;${PWD}/-${HOSTNAME}\007"; '
                ;;
                *)
                ;;
esac

And for things like vim I made a function to put the current command in the
titlebar:

t() {
        cmd="$1"; shift
        echo -ne "\033]0;"$cmd":$@\007"
        exec $cmd
}

It's a hack, and zsh has some hooks to do it more transparently, but it
suffices. Better that than configuring individual apps to set the title :)
> > >
> > Beyond the minimalistic aspect of WMII though, what sets it apart from the
> > tons of minimalistic WMs out there, is the **dynamic** part, the proposed
>
> yeah, nearly forgot that ... ;)
>
> > If you only have a xterm, a xchat and a xmms, then I agree with you: you
> > always know when you're in THE xterm :D
> > But what about when you're having 7 xterms open at all times, one with
> > log tails, one with servers monitoring software, one for coding, one or
> > two for current sysadmin tasks, one for the IM and so on... split on
> > two columns, stacked, etc. ? And I was talking about just one view :)
>
> to make it clear: _that_ is exactly my environment. on most views there
> are only terms. but, actually, they have all the same title ("aterm")
>
> > What should I do then? Draw myself a map using pen and paper to find my
> > way around... ? :)
>
> hehe, no. quickly flipping thourgh the terms in case you forgot where
> your needed shell was
>
> > Minimalism is nice, but if all I wanted was just minimalism, I would
> > still be using flux|black|open|whatever+box. It is that 'little something
> > different' that sets WMII apart from the minimalistic crowd that I think
> > it attracted most of us here...
>
> ack! i absolutely agree. wmii is small, minimalistic but nevertheless
> has more useful functions than and not the loads of crap as other WMs
>
> tube
> --
> tube_AT_count0.net
> http://count0.net
>
> _______________________________________________
> wmii_AT_wmii.de mailing list
> http://wmii.de/cgi-bin/mailman/listinfo/wmii
Received on Sun Apr 09 2006 - 23:05:01 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 16:02:01 UTC