.bashrc:
case $TERM in
xterm*)
TITLEBAR='\[\033]0;xterm:\w\007\]'
;;
*)
TITLEBAR=''
;;
esac
PS1="[EMAIL PROTECTED]:\w\$ "this sets the prompt to be [EMAIL PROTECTED]: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 [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]
-- 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 [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]
