Hi,

On Sat, Aug 07, 2010 at 10:01:47PM +0200, Pascal Wittmann wrote:
> I tried to write a function that spawns a window/client and makes it
> floating, but with no success. I looked a the spawn function, but I
> have no idea how to get/alter the isfloating value of the new client.
> Simply taking the selected one won't  work.
> 
> Example of use: You are reading a something in fullscreen and want to
> try some code snippet or do some computations, I find it useful to
> have a terminal (or someting else) floating around.
> 
> I could gain the same effect by switching the the layout to floating
> and open the application then, but I wonder if its possible (without
> big effort) to write such a function?

You could set a rule to match terminals based on title and mark them as 
floating, then use urxvt -T floatingwin or something to launch the term.  
I use the title matching trick a lot.

S

-- 
Sean Whitton / <s...@silentflame.com>
OpenPGP KeyID: 0x3B6D411B
http://seanwhitton.com/

Attachment: pgpmQKVlmcbiA.pgp
Description: PGP signature

Reply via email to