Re: [wmii] WMII status focused window

From: Anselm R. Garbe <>
Date: Thu, 23 Mar 2006 09:01:08 +0100

On Thu, Mar 23, 2006 at 02:54:50PM +0800, Fernan Bolando wrote:
> Hi
> This purely for aesthetics.
> I would like to display the current user and hostname in the status display.
> sort of like the bash prompt changing from fernan_AT_thinktank to
> root_AT_thinktank when you
> su.
> is it possible to check whether the focused window is a xterm window
> and check the owner

It is possible to check the class of the focused window if it is
XTerm:xterm and you can access its title. Anyway, xterm does not
provide any information about the state of the fd's it is
monitoring or the processes providing output for those fds.


 Anselm R. Garbe  ><><  ><><  GPG key: 0D73F361
Received on Thu Mar 23 2006 - 09:01:08 UTC

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