You are not logged in.

#1 2010-01-29 23:09:23

n0dix
Member
Registered: 2009-09-22
Posts: 956

[SOLVED]Dwm resize individual tiles.

Can i resize tiles individually? I tried to do, but if i resize the first tile, the second is always resize too.

If it is not possible, which tiling wm allow this feature?

Last edited by n0dix (2010-01-30 14:34:57)

Offline

#2 2010-01-30 00:14:13

firecat53
Member
From: Lake Stevens, WA, USA
Registered: 2007-05-14
Posts: 1,542
Website

Re: [SOLVED]Dwm resize individual tiles.

You can do that in floating window mode. Kind of defeats the purpose of a 'tiling' window manager if you could do that in tiling mode smile

Scott

Offline

#3 2010-01-30 01:03:07

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [SOLVED]Dwm resize individual tiles.

musca allows the arbitrary resizing of any window, but it's manual tiling nature is way different than DWM. xmonad has a few layouts that do it; ResizableTile and MouseResizableTile come to mind. Awesome can do it at least with the mouse. I'm sure it's possible with the keyboard also.

--EDIT--

It seems that I misread the OP. My apologies.

Offline

#4 2010-01-30 03:19:41

teh
Member
From: Tijuana, Mexico
Registered: 2009-07-07
Posts: 374
Website

Re: [SOLVED]Dwm resize individual tiles.

Holding ModKey + Right Click


arst

Offline

#5 2010-01-30 05:36:33

n0dix
Member
Registered: 2009-09-22
Posts: 956

Re: [SOLVED]Dwm resize individual tiles.

Thanks, for yours answers, but i don't think your answer mine or i don't understand yours.
I explain little more. I usually use Modkey + h , and ModKey + l, to expand/reduce the tile. More of the time i have two or mores tile (subdivisions) in the same screen (see the link, for example). If i change to a screen two the same sizes of the tile keep in new one.  If annoying to me, i think awesome doesn't has this behavior.

Which tiling manager has this behavior?

Link: http://en.wikipedia.org/wiki/File:Dwm-screenshot.png

Offline

#6 2010-01-30 05:43:33

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

Re: [SOLVED]Dwm resize individual tiles.

I think you are looking for the pertag patch: so you resize three tiles in tag1 and then move to tag2 and you can have a different layout: is that what you want?

FWIW: I work around this by manually setting layouts in all tags and then float the lot... it works, most of the time.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2010-01-30 05:55:01

n0dix
Member
Registered: 2009-09-22
Posts: 956

Re: [SOLVED]Dwm resize individual tiles.

jasonwryan wrote:

I think you are looking for the pertag patch: so you resize three tiles in tag1 and then move to tag2 and you can have a different layout: is that what you want?

You get it. I try to use the patch.

Offline

#8 2010-01-30 07:04:56

n0dix
Member
Registered: 2009-09-22
Posts: 956

Re: [SOLVED]Dwm resize individual tiles.

I need some help to install the patch. I try to follow this thread: http://bbs.archlinux.org/viewtopic.php?id=61499.
1. I get the patch, and put it in my .config/dwm directory.
2. Change the PKGBUILD and config.h file, like said the thread.
3. Execute the makepkg -g >> PKGBUILD , without errors
4. makepkg -efi. The output is:

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:

I don't know what to put.

Someone with an idea?

Last edited by n0dix (2010-01-30 07:07:23)

Offline

#9 2010-01-30 07:14:58

res
Member
Registered: 2010-01-14
Posts: 55

Re: [SOLVED]Dwm resize individual tiles.

Using the pkgbuild in community, write:

patch -p1 < ../dwm-5.7.2-pertag.diff || return 1

right under the line starting with cd.

e: Add the patch to the source array, too.

Last edited by res (2010-01-30 07:19:12)

Offline

#10 2010-01-30 07:17:00

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

Re: [SOLVED]Dwm resize individual tiles.

You need to put the diff in dwm/src/dwm-5.7.2/ and then apply the patch as per the instructions...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#11 2010-01-30 14:34:36

n0dix
Member
Registered: 2009-09-22
Posts: 956

Re: [SOLVED]Dwm resize individual tiles.

Thanks.
I solved the problem.
I can't live without this feature.

See ya!.

Offline

#12 2010-01-30 14:42:55

patroclo7
Member
From: Bassano del Grappa, ITALY
Registered: 2006-01-11
Posts: 915

Re: [SOLVED]Dwm resize individual tiles.

Here another user of the pertag patch for the very same reasons. However I understand that it can't go upstream because it breaks in some way the tagging paradigm identifying tag with view, so that it is not clear what should happen when you view more than one tag... But in the real life everything goes smoothly smile


Mortuus in anima, curam gero cutis

Offline

Board footer

Powered by FluxBB