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

From: Pascal Wittmann <PascalWittmann_AT_gmx.net>
Date: Mon, 09 Aug 2010 11:28:12 +0200

On 08/08/2010 11:23 AM, Sean Whitton wrote:
> 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
>

Thanks for your respond, it works for me!

pascal
Received on Mon Aug 09 2010 - 11:28:12 CEST

This archive was generated by hypermail 2.2.0 : Mon Aug 09 2010 - 11:36:02 CEST