Re: [dev] [dwm] spawn a floating window

From: Sean Whitton <sean_AT_silentflame.com>
Date: Sun, 8 Aug 2010 10:23:55 +0100

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 / <sean_AT_silentflame.com>
OpenPGP KeyID: 0x3B6D411B
http://seanwhitton.com/

Received on Sun Aug 08 2010 - 11:23:55 CEST

This archive was generated by hypermail 2.2.0 : Sun Aug 08 2010 - 11:36:01 CEST