You are not logged in.

#1 2009-11-23 17:08:00

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

[dwm] Each tag having own master size of windows [solved]

Hello guys,

I'm looking for a patch so that windows use their own master size I give them. Is that possible? It's a bit annoying that the master size I set for two windows on a specific tag will be used for any other tags too.

Thank you.

Last edited by orschiro (2009-11-23 20:15:41)

Offline

#2 2009-11-23 17:29:12

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [dwm] Each tag having own master size of windows [solved]

Doesn't pertag keep the master size intact?

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

I put it as a question because, even though I would love to use it, in 5.7.2 it conflicts with nmaster -among others- so I haven't actually tried it...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2009-11-23 18:04:26

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

Re: [dwm] Each tag having own master size of windows [solved]

Hello jasonwryan,

that seems to be the patch I'm looking for. So I want to apply it, changed into my dwm abs directory and tried the following:

patch -p1 < dwm-5.7.2-pertag.diff
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -r 2bcd25cce4ab dwm.c
|--- a/dwm.c    Sun Sep 27 20:20:14 2009 +0100
|+++ b/dwm.c    Tue Oct 20 18:27:52 2009 -0300
--------------------------
File to patch:

Am I right that I have to patch my config.h? I tried it but I got the error that it failed.

What to I have to do?

Offline

#4 2009-11-23 18:15:49

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [dwm] Each tag having own master size of windows [solved]

No, you need to patch dwm.c

Make sure you are in the correct directory. It sounds like you want:

yourhome/.../abs/dwm/src/dwm-5.7.2/

Last edited by jasonwryan (2009-11-23 18:42:33)


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2009-11-23 19:24:46

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

Re: [dwm] Each tag having own master size of windows [solved]

Well thank you. That worked very well. smile

But with every recompiling I have to apply the patch again, right?

Offline

#6 2009-11-23 19:35:09

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [dwm] Each tag having own master size of windows [solved]

No - your dwm.c is patched now. You'll only need to reapply it if you upgrade (or if you break it smile)

(Is that a 'solved'?)

Last edited by jasonwryan (2009-11-23 19:36:11)


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2009-11-23 20:15:27

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

Re: [dwm] Each tag having own master size of windows [solved]

All right, yeah it's solved. I'll mark it in a minute. Thank you once again. wink

Offline

Board footer

Powered by FluxBB