ratpoison-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[RP] launch and title?


From: Sven . Hartrumpf
Subject: [RP] launch and title?
Date: Thu, 24 May 2007 09:04:04 +0200 (CEST)

Hi all.

I am looking for a fast and robust way to launch a program and change
the title of its window.
The following simple script is neither fast nor robust (i.e. it often changes
the title of the wrong window).


#!
# launch program $1 and rename its window to $2
ratpoison -c "exec $1"
sleep 2
ratpoison -c "title $2"

Ciao
Sven

Attachment: pgptEbNEh8o3Y.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]