You are not logged in.
I use a large gap and I find it annoying how the gap will be twice as big between adjacent windows.
... ... ...
This patch has the corrections. Note: I restored gaps on monocle (my preferred behaviour) http://pastie.org/private/j997cjcgoyiwnbujrlxwScreenshot:
http://omploader.org/tM3NnYw
The original doesn't twice the gap in tile and bstack layout actually, but it does mess up the gaplessgrid layout.
I tried your approach and it doesn't double the gap, but it ain't perfect in gaplessgrid layout either. Too bad...
Last edited by lolilolicon (2010-03-10 11:28:46)
This silver ladybug at line 28...
Offline
Go-Run wrote:Theme and wallpaper?
Wallpaper: http://m177er.deviantart.com/art/arch-w … -141243772
Theme: http://nale12.deviantart.com/art/Colors-156062266
Offline
Wow, so much noise for the gapless grid patch.
K, I got some spare time, I'll see if I can come up with a version that works properly under all arrangers. Clearly using c->mon->mw and c->mon->mh was a hack.
EDIT: gaplessgrid breaks because with gaps on, the total width of all windows and gaps won't necessarily equal monitor width.
Last edited by simongmzlj (2010-03-10 13:41:41)
Offline
Wow, so much noise for the gapless grid patch.
K, I got some spare time, I'll see if I can come up with a version that works properly under all arrangers. Clearly using c->mon->mw and c->mon->mh was a hack.
Yep, it surely is ![]()
simon, do you have some repo for your dwm patches? I'm really interested in your patches;
and why not submit them to suckless.org?
Cheers
This silver ladybug at line 28...
Offline
The gapless grid patch won't work for the gaplessgrid arranger because it actually doesn't utilize the whole desktop, it will leave gaps on the left or bottom edge under certain orientations (this is either a very ironic title or possibly a broken arranger?). I could not duplicate the odd behaviour with bstack, it seemed to work correctly.
EDIT3:
Using c->mon->mh and c->mon->mw is correct, but I got an idea on how to get it working on gaplessgrids. Instead of adding a gap on the bottom and right edge, add it along the top and right.
simongmzlj wrote:Wow, so much noise for the gapless grid patch.
K, I got some spare time, I'll see if I can come up with a version that works properly under all arrangers. Clearly using c->mon->mw and c->mon->mh was a hack.
Yep, it surely is
simon, do you have some repo for your dwm patches? I'm really interested in your patches;
and why not submit them to suckless.org?Cheers
I've been meaning to do so. I've been a bit intimidated with editing their wiki. No I don't have a code repo, but here they are (ignoring the gaps patch)
nbalanced
Its a one or two line tweak of nmaster.c. Behaves saner, imho. It no longer rushes to fill the master area, behaving kinda like gaplessgrid until the nmaster "level" is reached. Probably not the best name, but meh. Both tile and bstack version are "corrected".
nbalanced.c = http://codepad.org/GzClf2DZ
opacify
A modified transparency patch. Requires xcompmgr to be running. I changed the transparency level to an int and added functions to allow runtime increasing/decreasing of transparency.
opacify.c = http://codepad.org/nUUFP67P
opacify.diff = http://codepad.org/VNjNxEN8
cycle
This one is a product of collaboration between me and some other archers. Adds keybinding to add a way to move left and right through tags with the ability to pull the focused window with you. Like ctrl+alt or ctrl+alt+shift left and right in gnome.
cycle.c = http://codepad.org/2umxDhX1
tagmon
The only patch completely of my doing. Changes how dwm manages multiple monitors. Unless explicitly dragged across, this patch causes dwm to reapply the rules set for the window on the new monitor.
tagmon.diff = http://codepad.org/Aar6lCJR
EDIT2: For what its worth
gaps
This version of the patch, while still adding gaps on monocle - thats my preference - works under floating behaviour and bstack (I tested this myself this morning). It won't work under gaplessgrid for the reason stated above
gaps.diff = http://codepad.org/XxjBokFP
EDIT: This is my config.h file: http://codepad.org/nFMkUI5p
Last edited by simongmzlj (2010-03-10 14:26:32)
Offline
http://i43.tinypic.com/2qlx1sn_th.png
By using its own resize() (using gappx/2 as gap) gaplessgrid is doing well now.
Finally call it settled I guess
Okay, that is just plain cool. Does any other window manager even offer something like that?
Quite an experience to live in fear, isn't it?
Offline
cycle
This one is a product of collaboration between me and some other archers. Adds keybinding to add a way to move left and right through tags with the ability to pull the focused window with you. Like ctrl+alt or ctrl+alt+shift left and right in gnome.
cycle.c = http://codepad.org/2umxDhX1
Holy cow! This one is exactly what I wrote on my dwm todo list. Thank you very much. And nbalanced and others look awesome too!
Not a big deal, but I think the shifttag() function should more acurately do this:
int numtags = LENGTH(tags);
... ... ...
seltag += dist;
if(seltag < 0)
seltag = numtags - (-seltag) % numtags; /* this, instead of just switch to last tag */
else
seltag %= numtags;Long live dwm hackers!!!
This silver ladybug at line 28...
Offline
lolilolicon wrote:http://i43.tinypic.com/2qlx1sn_th.png
By using its own resize() (using gappx/2 as gap) gaplessgrid is doing well now.
Finally call it settled I guessOkay, that is just plain cool. Does any other window manager even offer something like that?
So where is your screenshot
?
This silver ladybug at line 28...
Offline
@lolilolicon and others:
may be we should start a new thread for dwm-related posts? or move to an existed one?
Offline
simongmzlj wrote:cycle
This one is a product of collaboration between me and some other archers. Adds keybinding to add a way to move left and right through tags with the ability to pull the focused window with you. Like ctrl+alt or ctrl+alt+shift left and right in gnome.
cycle.c = http://codepad.org/2umxDhX1Holy cow! This one is exactly what I wrote on my dwm todo list. Thank you very much. And nbalanced and others look awesome too!
Not a big deal, but I think the shifttag() function should more acurately do this:
int numtags = LENGTH(tags); ... ... ... seltag += dist; if(seltag < 0) seltag = numtags - (-seltag) % numtags; /* this, instead of just switch to last tag */ else seltag %= numtags;Long live dwm hackers!!!
Thanks for the fix! I had the gaps patch on my todo list so consider it a returned favor. All this talk of patching is getting maybe a little off topic, maybe a dwm patch sharing/requesting thread should be started. Who knows what other archers have done?
EDIT: Took the liberty to start it here: http://bbs.archlinux.org/viewtopic.php?id=92895
Last edited by simongmzlj (2010-03-10 16:03:06)
Offline
SadSkinJob wrote:lolilolicon wrote:http://i43.tinypic.com/2qlx1sn_th.png
By using its own resize() (using gappx/2 as gap) gaplessgrid is doing well now.
Finally call it settled I guessOkay, that is just plain cool. Does any other window manager even offer something like that?
So where is your screenshot
?
Right now, all I have installed is Twm, and I assumed that I would get panned for using Twm.
Quite an experience to live in fear, isn't it?
Offline
Right now, all I have installed is Twm, and I assumed that I would get panned for using Twm.
I don't think so. twm is awesome. I still use it from time to time on my production boxes. Theming twm is also pretty easy, and one extra feature i use is vdesk for virtual desktops.
Anyway my current screen.
"You know what I found? Right in the kernel, in the heart of the operating system, I found a developer's comment that said, `Does this belong here?`" -- Simon Lok about Linux kernel in 2005
Reflections on the Strange and the not so Strange
http://skinwalker.wordpress.com
Offline
@Daisuke, I'd really want much more info ![]()
Last edited by gtklocker (2010-03-10 18:44:53)
Offline
March finally after the recover this desktop wallpapers.
http://picasaweb.google.com/lh/photo/aP … directlink
Last edited by erick.red (2010-03-10 20:34:30)
Carpe diem, quam minimum credula postero
Offline
fvwm
vimperator, cmus, irssi and rox-filer.
screen with hardstatusalwaysfirstline patch
Can you post a link to the firstline patch for screen 4.0.3? Can't find it anywhere. Thanks.
This silver ladybug at line 28...
Offline
I've been meaning to do so. I've been a bit intimidated with editing their wiki. No I don't have a code repo, but here they are (ignoring the gaps patch)
if you're intimidated by the wiki, you could at least send your patches to the mailing list? there could be other users out there reading the mailing list (who don't use the arch bbs) who would like to use your patches.
I've seen young people waste their time reading books about sensitive vampires. It's kinda sad. But you say it's not the end of the world... Well, maybe it is!
Offline
Offline
Clean install of ArchBang a few days ago, I haven't changed much, bar the wm...:
I have to think about things like xdefaults to go with the grey colour scheme... any suggestions welcome, but I'm thinking a lot of turquoise and marine tones might work?
do you have the pictures in larger resolutions?
Offline
Hah, thats an awesome wallpaper
Offline
simongmzlj wrote:I've been meaning to do so. I've been a bit intimidated with editing their wiki. No I don't have a code repo, but here they are (ignoring the gaps patch)
if you're intimidated by the wiki, you could at least send your patches to the mailing list? there could be other users out there reading the mailing list (who don't use the arch bbs) who would like to use your patches.
Yeah, I've been meaning to do that. I've been subscribed to that for a long time now, actually.
Offline
hume's doona wrote:Clean install of ArchBang a few days ago, I haven't changed much, bar the wm...:
I have to think about things like xdefaults to go with the grey colour scheme... any suggestions welcome, but I'm thinking a lot of turquoise and marine tones might work?do you have the pictures in larger resolutions?
Yeah, they're a bit bigger in the links. The originals are 1050 pixels high, photobucket didn't maintain that... the wall is Synchronising_by_juliekoesmarno I think it was on deviant art.
Offline