You are not logged in.

#1 2009-02-17 02:11:15

Reasons
Member
From: Washington
Registered: 2007-11-04
Posts: 572

DWM master window

Can you set windows to be master windows in DWM? What I mean is, I want one window such as firefox to always be taking up the larger portion of the screen. That, and can you do custom keyboard shortcuts? I tried this, but it don't compile:

*{ MODKEY, XK_p, spawn, "exec firefox" }

Offline

#2 2009-02-17 07:23:08

strankan
Member
From: Sundsvall - Sweden
Registered: 2006-11-08
Posts: 97

Re: DWM master window

First you need to define the command that starts firefox. For example:
static const char *ff[]  = { "firefox", NULL };

Then you you define the keys:
{ MODKEY,                       XK_p,      spawn,          {.v = ff } },

About always have a certain window in the master area I'm not sure, I keep my windows very static once they're opened.

Offline

#3 2009-02-17 07:55:42

Reasons
Member
From: Washington
Registered: 2007-11-04
Posts: 572

Re: DWM master window

Thank you, worked great, also figured out how to have windows open on a certain tab. Another thing, can you make a certain tab be in floating mode at all times?

Last edited by Reasons (2009-02-17 07:56:28)

Offline

#4 2009-02-17 09:44:42

Gigamo
Member
Registered: 2008-01-19
Posts: 394

Re: DWM master window

Reasons wrote:

Another thing, can you make a certain tab be in floating mode at all times?

As far as I know, that's not possible in DWM. It's either tiled everywhere, or floating everywhere.

Offline

#5 2009-02-17 09:52:15

dziq
Member
From: Olsztyn, Poland
Registered: 2008-03-26
Posts: 65
Website

Re: DWM master window

It's possible by patching dwm eg. http://www.suckless.org/dwm/patches/taglayouts.html.

Offline

#6 2009-02-17 09:54:13

ludovico
Member
From: Oslo, Norway
Registered: 2008-08-24
Posts: 75

Re: DWM master window

It is possible in a way, they have a patch for it on the project page:

http://www.suckless.org/dwm/patches/pertag.html


Oops, too slow:P

Last edited by ludovico (2009-02-17 09:54:46)


Sin? What's all this about sin?

Offline

Board footer

Powered by FluxBB