You are not logged in.

#1 2010-02-11 11:22:39

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

[dwm] specfic tag always with monocle layout

Hello guys,

the default layout for all tags is always tile but I want to set one specific tag to monocle on startup. Is that possible?

Best regards

Offline

#2 2010-02-12 02:59:37

steve___
Member
Registered: 2008-02-24
Posts: 439

Re: [dwm] specfic tag always with monocle layout

The only way I think of is using the 'pertag' patch and manually setting the layout for the specific tag.

Offline

#3 2010-02-12 04:42:11

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: [dwm] specfic tag always with monocle layout

Hello steve,

that's exactly the way I do it at the moment. I mean the manual way is just a one key combination to change it from tile to monocle but why not automatized if this is possible. wink

Anyway perhaps somebody knows a solution for this.

Regards

Offline

#4 2010-02-12 06:11:05

oew
Member
From: Norway
Registered: 2006-11-08
Posts: 105

Re: [dwm] specfic tag always with monocle layout

I would like this behaviour as well. I'll look into this tonight and see if I can write a patch for this.
Been a while since I've written anything in C, so don't get your hopes up tongue


there's no place like ~/

Offline

#5 2010-02-12 06:15:49

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: [dwm] specfic tag always with monocle layout

Wow that would be great. smile

Thank you in advance.

Offline

#6 2010-02-12 16:50:58

portix
Member
Registered: 2009-01-13
Posts: 757

Re: [dwm] specfic tag always with monocle layout

I modified the pertag-patch for dwm-5.7.2  http://pastebin.com/m2355e5dc.
Just add something like

static const int  initlayouts[] = { 0, 0, 1, 0, 1, 0, 1, 2, 0, 0 };

in your config.h.

Edit: url changed

Last edited by portix (2010-02-13 09:19:26)

Offline

#7 2010-02-12 17:41:22

steve___
Member
Registered: 2008-02-24
Posts: 439

Re: [dwm] specfic tag always with monocle layout

After some testing and if this works well, I suggest we see if the maintainer of the pertag patch will include your modification.

Offline

Board footer

Powered by FluxBB