Re: FVWM: Tab window switching more informative??

From: Peter Williams <petertw_at_gmail.com>
Date: Mon, 09 May 2005 16:34:06 -0400

This solution is application-specific, but what i do is include the
working directory in the xterm titlebar. And then do this separately for
other applications in which i want more information, for instance.

.bashrc:

case $TERM in
     xterm*)
         TITLEBAR='\[\033]0;xterm:\w\007\]'
         ;;
     *)
         TITLEBAR=''
         ;;
esac
PS1="${TITLEBAR}\u_at_\h:\w\$ "

this sets the prompt to be user_at_host:directory
and the title to be xterm:directory

It is included in the PS1 variable, that way every time the prompt is
printed the title bar is updated.

-Peter

Yang Yang wrote:
> hi guys:
> I use Alt+tab in FVWM to switch between windows. the problem that
> bothers me is that there is too little information showing in the
> windowlist, for example, all xterm windows just show "xterm". so I do
> not know which xterm window is the one I want to go to. it would be
> more informative if the list also shows, for example, the working
> directory, recent commands in that window, etc.
>
> anybody knows how to do this? ( I do not want to use the "instant
> snapshot" approach, cuz I'm too lazy to do the config, and it's
> probably too slow for my machine .... )
>
>
> thanks a lot!
>
> Yang
> --
> Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
> To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
> message to majordomo_at_fvwm.org.
> To report problems, send mail to fvwm-owner_at_fvwm.org.
>

--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Mon May 09 2005 - 15:36:11 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:57 BST