[dwm] dwm-4.4 clients per tag patch updated
http://news.nopcode.org/dwm-4.4-cpt.patch it should work on 4.4.1 too. --pancake
Re: [dwm] dwm-4.4
Hi, I have pidgin (gaim) assigned to a separate tag. When I start pidgin and when am on a different tag I can pidgin's status box steals focus and shows up in the current tag. Anyone noticed it ? -Arun
Re: [dwm] dwm-4.4
> Readding "setclientstate(c, NormalState);" to manage() fixes xkill for > me. See attached diff. > Same here. xkill kills again :) Thanks Jeroen! -- - yiyus || JGL .
Re: [dwm] dwm-4.4
On Fri, Aug 24, 2007 at 05:02:36PM +0200, Anselm R. Garbe wrote: > On Thu, Aug 23, 2007 at 10:36:31PM +0200, Antoni Grzymala wrote: > > Tako rzecze pancake (w e-mailu datowanym 2007-08-23, 22:32): > > > > > wtf!? xkill doesn't works?!?? > > > > Confirmed. It doesn't. > > I consider this a bug. If it is fixed, there might be a 4.4.1 > release. Readding "setclientstate(c, NormalState);" to manage() fixes xkill for me. See attached diff. Regards, -- Jeroen Schot [EMAIL PROTECTED] (mail & jabber) http://schot.a-eskwadraat.nl diff -r 1c30ac0aee7f client.c --- a/client.c Thu Aug 23 18:15:13 2007 +0200 +++ b/client.c Fri Aug 24 17:42:56 2007 +0200 @@ -228,6 +228,7 @@ manage(Window w, XWindowAttributes *wa) attachstack(c); XMoveResizeWindow(dpy, c->win, c->x, c->y, c->w, c->h); /* some windows require this */ ban(c); + setclientstate(c, NormalState); XMapWindow(dpy, c->win); arrange(); }
Re: [dwm] dwm-4.4
I checked and xkill doesn't work, but xprop and xwininfo work with no problems, isn't it weird? > > > wtf!? xkill doesn't works?!?? > > > > Confirmed. It doesn't. > > I consider this a bug. If it is fixed, there might be a 4.4.1 > release. -- - yiyus || JGL .
Re: [dwm] dwm-4.4
On Thu, Aug 23, 2007 at 10:36:31PM +0200, Antoni Grzymala wrote: > Tako rzecze pancake (w e-mailu datowanym 2007-08-23, 22:32): > > > wtf!? xkill doesn't works?!?? > > Confirmed. It doesn't. I consider this a bug. If it is fixed, there might be a 4.4.1 release. Regards, -- Anselm R. Garbe >< http://www.suckless.org/ >< GPG key: 0D73F361
Re: [dwm] dwm-4.4
On Thu 23-08-2007 12:45, Jeremy O'Brien wrote: > Hopefully the wonderful patches out for dwm-4.3 will be ported up to > this new version :) I've updated the patches taglayouts, moveresize, save_floats, maximize_vert_horz and raise/lower window. You can download them here: https://herbst.homeunix.org/projects/repos/hg/dwm_patches/ -- Jan Christoph Ebersbach Have you ever read God's love letter to you? http://www.gottkennen.com/ signature.asc Description: Digital signature
Re: [dwm] dwm-4.4
On 8/24/07, pancake <[EMAIL PROTECTED]> wrote: > wtf!? xkill doesn't works?!?? Yep, xkill stopped working. -arun
Re: [dwm] dwm-4.4
Tako rzecze pancake (w e-mailu datowanym 2007-08-23, 22:32): > wtf!? xkill doesn't works?!?? Confirmed. It doesn't. [a] -- . Antoni Grzymala - antoni (at) chopin.edu.pl ---. | OpenPGP KeyID EB315583 available now from a keyserver near you | | Fingerprint A819 6D2E D5EB D9E0 D2D9 7AF6 2FAF 4A11 EB31 5583 | `' pgpTfSVe7SYGE.pgp Description: PGP signature
Re: [dwm] dwm-4.4
wtf!? xkill doesn't works?!?? On Thu, 23 Aug 2007 18:19:13 +0200 "Anselm R. Garbe" <[EMAIL PROTECTED]> wrote: > Hi there, > > I created dwm-4.4, you can download it from > > http://www.suckless.org/download/dwm-4.4.tar.gz > > This release contains certain bug fixes, a lot of code polishing > and some removed features. > > I refer to the mailing list archives for details. > > Regards, > -- > Anselm R. Garbe >< http://www.suckless.org/ >< GPG key: 0D73F361 > --pancake
Re: [dwm] dwm-4.4
> - i really miss the nmaster feature (i used most of times to have a grid-like >layout and be able to use better the vertical space on the left area > > - I plan to port the clients-per-tag patch soon > - for the rest, it looks pretty fine to me as usually :) and nmaster patch? :)
Re: [dwm] dwm-4.4
On Thu, Aug 23, 2007 at 06:32:21PM +0200, Antoni Grzymala wrote: > Great, looks like the keyboard-focus-taken-away indicator problem > described in one of my recent postings got fixed to. At least I didn't > manage to reproduce it. It happens to me. The behaviour had gone away with the fix a little while ago, but has reappeared within the last week (according to my flakey memory). I have a key bound to a shell script which passes any URLs on the clipboard to my web browser (Opera). If I look at the browser view (I have one tag exclusively for my web browser), then back to another view, then use the clipboard-url key, then I lose focus. If I refocus my non-browser view (without going to the browser view first) and then invoke the script again, then I don't lose focus. I have just updated to hg tip (changeset: 975:1c30ac0aee7f) to test this. Karl. -- http://mowson.org/karl
Re: [dwm] dwm-4.4
This is my impressions and random tips for dwm-4.4: - togglemax doesn't work on tiled mode (i know that it shouldn't, but imho it will be more coherent to be able to call the same function for all modes and layouts). - i really miss the nmaster feature (i used most of times to have a grid-like layout and be able to use better the vertical space on the left area - defaults mwfactor is really small IMHO. It should be +-0.5 or +-0.1 - some keybindings in the config.default.h are not well sorted (meta+space) - i miss the mouse wheel on tag switch :/ - what about letting the 0.1 and 0.9 limits configurable from config.h? this can be used to set to 0 or 1 and set a vertical layout (slave area) or a fullscreen (master). maybe something like #define MWFACTORLEFT 0.5 #define MWFACTORRIGHT 1 or #define MWFACTORLIMIT 0.1 To define same factor on both limits. - i have been added yeahconsole into my xinitrc. This is my ~/.Xdefaults yeahconsole*toggleKey:Control+Return yeahconsole*background:black yeahconsole*foreground:gray yeahconsole*font:9x15 yeahconsole*aniDelay:18 yeahconsole*stepSize:15 yeahconsole*consoleHeight:30 - I plan to port the clients-per-tag patch soon - for the rest, it looks pretty fine to me as usually :) --pancake On Thu, 23 Aug 2007 18:19:13 +0200 "Anselm R. Garbe" <[EMAIL PROTECTED]> wrote: > Hi there, > > I created dwm-4.4, you can download it from > > http://www.suckless.org/download/dwm-4.4.tar.gz > > This release contains certain bug fixes, a lot of code polishing > and some removed features. > > I refer to the mailing list archives for details. > > Regards, > -- > Anselm R. Garbe >< http://www.suckless.org/ >< GPG key: 0D73F361 >
Re: [dwm] dwm-4.4
On Thu, Aug 23, 2007 at 01:16:39PM -0400, James Turner wrote: > On Thu, Aug 23, 2007 at 12:45:47PM -0400, Jeremy O'Brien wrote: > > On Thu, Aug 23, 2007 at 06:19:13PM +0200, Anselm R. Garbe wrote: > > > Hi there, > > > > > > I created dwm-4.4, you can download it from > > > > > > http://www.suckless.org/download/dwm-4.4.tar.gz > > > > > > This release contains certain bug fixes, a lot of code polishing > > > and some removed features. > > > > > > I refer to the mailing list archives for details. > > > > > > Regards, > > > -- > > > Anselm R. Garbe >< http://www.suckless.org/ >< GPG key: 0D73F361 > > > > > > > Hopefully the wonderful patches out for dwm-4.3 will be ported up to > > this new version :) > > -- > > Jeremy O'Brien aka neutral_insomniac > > GPG key: 0xB1140FDB http://pohl.ececs.uc.edu/~jeremy/jeremy.asc > > Linux ambelina 2.6.22.1 ppc 7447A, altivec supported PowerBook5,8 GNU/Linux > > Speaking of patches, you can get the updated bstack and main (openbsd > only) patch from http://calminferno.net/files/. I only ported the > bstack portrait layout since thats all I use. Enjoy, and feel free to > post any issues. > > -- > James Turner > BSD Group Consulting > http://www.bsdgroup.org > --- config.default.h Tue Aug 21 18:09:46 2007 > +++ config.default.h Tue Aug 21 18:10:27 2007 > @@ -31,6 +31,7 @@ static Layout layouts[] = { \ > /* symbol function */ \ > { "[]=",tile }, /* first entry is default */ \ > { "><>",floating }, \ > + { "TTT",bstack }, \ > }; > #define MWFACT 0.6 /* master width factor [0.1 .. > 0.9] */ > #define SNAP 32 /* snap pixel */ > --- tile.cTue Aug 21 18:09:46 2007 > +++ tile.cTue Aug 21 18:17:00 2007 > @@ -12,7 +12,7 @@ void > setmwfact(const char *arg) { > double delta; > > - if(!isarrange(tile)) > + if(!isarrange(tile) && !isarrange(bstack)) > return; > /* arg handling, manipulate mwfact */ > if(arg == NULL) > @@ -71,10 +71,49 @@ tile(void) { > } > > void > +bstack(void) { > + unsigned int i, n, nx, ny, nw, nh, mw, mh, tw, th; > + Client *c; > + > + for(n = 0, c = nexttiled(clients); c; c = nexttiled(c->next)) > + n++; > + > + /* window geoms */ > + mh = (n > 1) ? (wah * mwfact) / 1 : wah / (n > 0 ? n : 1); > + mw = waw; > + th = (n > 1) ? (wah * (1 - mwfact)) / 1 : 0; > + tw = (n > 1) ? waw / (n - 1) : 0; > + > + for(i = 0, c = nexttiled(clients); c; c = nexttiled(c->next)) { > + c->ismax = False; > + nx = wax; > + ny = way; > + if(i < 1) { > + ny += i * mh; > + nw = mw - 2 * c->border; > + nh = mh - 2 * c->border; > + } > + else { > + nx += (i - 1) * tw; > + ny += mh * 1; > + if(i + 1 == n) { /* remainder */ > + nw = (wax + waw) - nx - 2 * c->border; > + } > + else { > + nw = tw - 2 * c->border; > + } > + nh = th - 2 * c->border + 1; > + } > + resize(c, nx, ny, nw, nh, False); > + i++; > + } > +} > + > +void > zoom(const char *arg) { > Client *c; > > - if(!sel || !isarrange(tile) || sel->isfloating) > + if(!sel || (!isarrange(tile) && !isarrange(bstack)) || sel->isfloating) > return; > if((c = sel) == nexttiled(clients)) > if(!(c = nexttiled(c->next))) > --- tile.hTue Aug 21 18:09:46 2007 > +++ tile.hTue Aug 21 18:10:55 2007 > @@ -3,4 +3,5 @@ > /* tile.c */ > void setmwfact(const char *arg); /* sets master width factor */ > void tile(void); /* arranges all windows tiled */ > +void bstack(void); /* arranges all windows bottom stacked > */ > void zoom(const char *arg); /* zooms the focused client to master > area, arg is ignored */ > --- main.cThu Aug 23 12:11:41 2007 > +++ main.cThu Aug 23 09:15:10 2007 > @@ -221,7 +221,7 @@ > XDefineCursor(dpy, barwin, cursor[CurNormal]); > updatebarpos(); > XMapRaised(dpy, barwin); > - strcpy(stext, "dwm-"VERSION); > + strlcpy(stext, "dwm-"VERSIONi, sizeof(stext)); > /* pixmap for everything */ > dc.drawable = XCreatePixmap(dpy, root, sw, bh, DefaultDepth(dpy, > screen)); > dc.gc = XCreateGC(dpy, root, 0, 0); Damn, typo in the dwm-4.4-main.diff it's be updated on my site and in the attached file. Sorry about that. -- James Turner BSD Group Consulting http://www.bsdgroup.org --- main.c Thu Aug 23 12:11:41 2007 +++ main.c Thu Aug 23 09:15:10 2007 @@ -221,7 +221,7 @@ XDefineCursor(dpy, barwin, cursor[CurNormal]); updatebarpos();
Re: [dwm] dwm-4.4
On Thu, Aug 23, 2007 at 12:45:47PM -0400, Jeremy O'Brien wrote: > On Thu, Aug 23, 2007 at 06:19:13PM +0200, Anselm R. Garbe wrote: > > Hi there, > > > > I created dwm-4.4, you can download it from > > > > http://www.suckless.org/download/dwm-4.4.tar.gz > > > > This release contains certain bug fixes, a lot of code polishing > > and some removed features. > > > > I refer to the mailing list archives for details. > > > > Regards, > > -- > > Anselm R. Garbe >< http://www.suckless.org/ >< GPG key: 0D73F361 > > > > Hopefully the wonderful patches out for dwm-4.3 will be ported up to > this new version :) > -- > Jeremy O'Brien aka neutral_insomniac > GPG key: 0xB1140FDB http://pohl.ececs.uc.edu/~jeremy/jeremy.asc > Linux ambelina 2.6.22.1 ppc 7447A, altivec supported PowerBook5,8 GNU/Linux Speaking of patches, you can get the updated bstack and main (openbsd only) patch from http://calminferno.net/files/. I only ported the bstack portrait layout since thats all I use. Enjoy, and feel free to post any issues. -- James Turner BSD Group Consulting http://www.bsdgroup.org --- config.default.hTue Aug 21 18:09:46 2007 +++ config.default.hTue Aug 21 18:10:27 2007 @@ -31,6 +31,7 @@ static Layout layouts[] = { \ /* symbol function */ \ { "[]=",tile }, /* first entry is default */ \ { "><>",floating }, \ + { "TTT",bstack }, \ }; #define MWFACT 0.6 /* master width factor [0.1 .. 0.9] */ #define SNAP 32 /* snap pixel */ --- tile.c Tue Aug 21 18:09:46 2007 +++ tile.c Tue Aug 21 18:17:00 2007 @@ -12,7 +12,7 @@ void setmwfact(const char *arg) { double delta; - if(!isarrange(tile)) + if(!isarrange(tile) && !isarrange(bstack)) return; /* arg handling, manipulate mwfact */ if(arg == NULL) @@ -71,10 +71,49 @@ tile(void) { } void +bstack(void) { + unsigned int i, n, nx, ny, nw, nh, mw, mh, tw, th; + Client *c; + + for(n = 0, c = nexttiled(clients); c; c = nexttiled(c->next)) + n++; + + /* window geoms */ + mh = (n > 1) ? (wah * mwfact) / 1 : wah / (n > 0 ? n : 1); + mw = waw; + th = (n > 1) ? (wah * (1 - mwfact)) / 1 : 0; + tw = (n > 1) ? waw / (n - 1) : 0; + + for(i = 0, c = nexttiled(clients); c; c = nexttiled(c->next)) { + c->ismax = False; + nx = wax; + ny = way; + if(i < 1) { + ny += i * mh; + nw = mw - 2 * c->border; + nh = mh - 2 * c->border; + } + else { + nx += (i - 1) * tw; + ny += mh * 1; + if(i + 1 == n) { /* remainder */ + nw = (wax + waw) - nx - 2 * c->border; + } + else { + nw = tw - 2 * c->border; + } + nh = th - 2 * c->border + 1; + } + resize(c, nx, ny, nw, nh, False); + i++; + } +} + +void zoom(const char *arg) { Client *c; - if(!sel || !isarrange(tile) || sel->isfloating) + if(!sel || (!isarrange(tile) && !isarrange(bstack)) || sel->isfloating) return; if((c = sel) == nexttiled(clients)) if(!(c = nexttiled(c->next))) --- tile.h Tue Aug 21 18:09:46 2007 +++ tile.h Tue Aug 21 18:10:55 2007 @@ -3,4 +3,5 @@ /* tile.c */ void setmwfact(const char *arg); /* sets master width factor */ void tile(void); /* arranges all windows tiled */ +void bstack(void); /* arranges all windows bottom stacked */ void zoom(const char *arg);/* zooms the focused client to master area, arg is ignored */ --- main.c Thu Aug 23 12:11:41 2007 +++ main.c Thu Aug 23 09:15:10 2007 @@ -221,7 +221,7 @@ XDefineCursor(dpy, barwin, cursor[CurNormal]); updatebarpos(); XMapRaised(dpy, barwin); - strcpy(stext, "dwm-"VERSION); + strlcpy(stext, "dwm-"VERSIONi, sizeof(stext)); /* pixmap for everything */ dc.drawable = XCreatePixmap(dpy, root, sw, bh, DefaultDepth(dpy, screen)); dc.gc = XCreateGC(dpy, root, 0, 0);
Re: [dwm] dwm-4.4
On Thu, Aug 23, 2007 at 06:19:13PM +0200, Anselm R. Garbe wrote: > Hi there, > > I created dwm-4.4, you can download it from > > http://www.suckless.org/download/dwm-4.4.tar.gz > > This release contains certain bug fixes, a lot of code polishing > and some removed features. > > I refer to the mailing list archives for details. > > Regards, > -- > Anselm R. Garbe >< http://www.suckless.org/ >< GPG key: 0D73F361 > Hopefully the wonderful patches out for dwm-4.3 will be ported up to this new version :) -- Jeremy O'Brien aka neutral_insomniac GPG key: 0xB1140FDB http://pohl.ececs.uc.edu/~jeremy/jeremy.asc Linux ambelina 2.6.22.1 ppc 7447A, altivec supported PowerBook5,8 GNU/Linux pgpam8Tm7N7jz.pgp Description: PGP signature
Re: [dwm] dwm-4.4
Tako rzecze Anselm R. Garbe (w e-mailu datowanym 2007-08-23, 18:19): > Hi there, > > I created dwm-4.4, you can download it from > > http://www.suckless.org/download/dwm-4.4.tar.gz > > This release contains certain bug fixes, a lot of code polishing > and some removed features. > > I refer to the mailing list archives for details. Great, looks like the keyboard-focus-taken-away indicator problem described in one of my recent postings got fixed to. At least I didn't manage to reproduce it. Thanks, [a] -- . Antoni Grzymala - antoni (at) chopin.edu.pl ---. | OpenPGP KeyID EB315583 available now from a keyserver near you | | Fingerprint A819 6D2E D5EB D9E0 D2D9 7AF6 2FAF 4A11 EB31 5583 | `' pgpTP29VuhHus.pgp Description: PGP signature
[dwm] dwm-4.4
Hi there, I created dwm-4.4, you can download it from http://www.suckless.org/download/dwm-4.4.tar.gz This release contains certain bug fixes, a lot of code polishing and some removed features. I refer to the mailing list archives for details. Regards, -- Anselm R. Garbe >< http://www.suckless.org/ >< GPG key: 0D73F361
Re: [dwm] dwm-4.4 is on its way
On Sun, Aug 05, 2007 at 08:43:20PM +0200, Tuncer Ayaz wrote: > On 8/5/07, Anselm R. Garbe <[EMAIL PROTECTED]> wrote: > > Well, there wasn't so much feedback regarding the new MASTERW > > replacement with {V,H}RATIO. Anyways, I documented the new > > shortcuts and added some sanity checks to the new tile() > > algorithm, that it maximizes all master/stack windows if they > > would get smaller than barheight in height. > > > > I ask you to test hg tip now. If there are no serious bugs, I'll > > release it in a couple of days. > > when I spawn the 8th console in a view I only see the 8th > console and the left one. the other 6 consoles which were > quasi-stacked on the right are hidden as long as the 8th > window is there. > > I guess what I'm seeing is part of the new behaviour because > I'm using the tiling config from config.arg.h, right? > > #define NMASTER 1 /* clients in master area */ > #define HRATIO .8 /* horizontal ratio of tile */ > #define VRATIO .9 /* vertical ratio of tile */ > #define SNAP32 /* snap pixel */ Yes the 8th terminal would get too less space, so dwm uses the fallback algorithm instead. Regards, -- Anselm R. Garbe >< http://www.suckless.org/ >< GPG key: 0D73F361
Re: [dwm] dwm-4.4 is on its way
On 8/5/07, Anselm R. Garbe <[EMAIL PROTECTED]> wrote: > Well, there wasn't so much feedback regarding the new MASTERW > replacement with {V,H}RATIO. Anyways, I documented the new > shortcuts and added some sanity checks to the new tile() > algorithm, that it maximizes all master/stack windows if they > would get smaller than barheight in height. > > I ask you to test hg tip now. If there are no serious bugs, I'll > release it in a couple of days. when I spawn the 8th console in a view I only see the 8th console and the left one. the other 6 consoles which were quasi-stacked on the right are hidden as long as the 8th window is there. I guess what I'm seeing is part of the new behaviour because I'm using the tiling config from config.arg.h, right? #define NMASTER 1 /* clients in master area */ #define HRATIO .8 /* horizontal ratio of tile */ #define VRATIO .9 /* vertical ratio of tile */ #define SNAP32 /* snap pixel */
[dwm] dwm-4.4 is on its way
Well, there wasn't so much feedback regarding the new MASTERW replacement with {V,H}RATIO. Anyways, I documented the new shortcuts and added some sanity checks to the new tile() algorithm, that it maximizes all master/stack windows if they would get smaller than barheight in height. I ask you to test hg tip now. If there are no serious bugs, I'll release it in a couple of days. Regards, -- Anselm R. Garbe >< http://www.suckless.org/ >< GPG key: 0D73F361
Re: [dwm] dwm-4.4 is on its way
Anselm R. Garbe --> dwm (2007-07-31 18:24:18 +0200): > On Mon, Jul 30, 2007 at 09:20:32PM +0200, Jukka Salmi wrote: > > Anselm R. Garbe --> dwm (2007-07-30 21:08:44 +0200): > > > I pushed a "fix" (rev 929), please recheck. > > > > Seems to work fine, thanks! > > Please recheck, I pushed a different fix, actually the current > one seems better than the yesterday fix. Seems to work fine, too. Regards, Jukka -- bashian roulette: $ ((RANDOM%6)) || rm -rf ~
Re: [dwm] dwm-4.4 is on its way
On Mon, Jul 30, 2007 at 11:05:17PM +0200, Jeroen Schot wrote: > On Sat, Jul 28, 2007 at 05:23:24PM +0200, Anselm R. Garbe wrote: > > Hi there, > > > > I ask you to check the current hg tip (changeset 927+) to test > > dwm. Especially those using Mathematica having trouble with the > > so-called greyish blobs bug. > > Hi Anselm, > > Current hg tip (929) still shows these Mathematica grey blobs. Hmm, then I don't understand what Mathematica does, I will check Mathematica then on my own. Regards, -- Anselm R. Garbe >< http://www.suckless.org/ >< GPG key: 0D73F361
Re: [dwm] dwm-4.4 is on its way
On Mon, Jul 30, 2007 at 09:20:32PM +0200, Jukka Salmi wrote: > Anselm R. Garbe --> dwm (2007-07-30 21:08:44 +0200): > > I pushed a "fix" (rev 929), please recheck. > > Seems to work fine, thanks! Please recheck, I pushed a different fix, actually the current one seems better than the yesterday fix. Regards, -- Anselm R. Garbe >< http://www.suckless.org/ >< GPG key: 0D73F361
Re: [dwm] dwm-4.4 is on its way
On Sat, Jul 28, 2007 at 05:23:24PM +0200, Anselm R. Garbe wrote: > Hi there, > > I ask you to check the current hg tip (changeset 927+) to test > dwm. Especially those using Mathematica having trouble with the > so-called greyish blobs bug. Hi Anselm, Current hg tip (929) still shows these Mathematica grey blobs. Regards, -- Jeroen Schot [EMAIL PROTECTED] (mail & jabber) http://schot.a-eskwadraat.nl
Re: [dwm] dwm-4.4 is on its way
Anselm R. Garbe --> dwm (2007-07-30 21:08:44 +0200): > I pushed a "fix" (rev 929), please recheck. Seems to work fine, thanks! Regards, Jukka -- bashian roulette: $ ((RANDOM%6)) || rm -rf ~
Re: [dwm] dwm-4.4 is on its way
On Sun, Jul 29, 2007 at 07:51:31PM +0200, Anselm R. Garbe wrote: > On Sun, Jul 29, 2007 at 12:58:00PM +0200, Jukka Salmi wrote: > > Anselm R. Garbe --> dwm (2007-07-28 17:23:24 +0200): > > > I ask you to check the current hg tip (changeset 927+) to test > > > dwm. Especially those using Mathematica having trouble with the > > > so-called greyish blobs bug. I changed the mechanism how dwm > > > bans resp. unbans windows. Since dwm 0.1 it banned/unbanned > > > windows through XMoveWindow()-ing them off- and onscreen. Now > > > dwm uses X[Un]mapWindow() for this purpose. > > > > When starting Firefox in tiling layout, its window is now positioned > > as if there were no status bar. This happens most of the time, but no > > always (!?). See [1]here. Starting another client on the same tag seems > > to fix the broke positioning. > > > > > > Regards, Jukka > > > > [1] http://salmi.ch/~jukka/dwm/ff.png > > It seems being related that firefox does not really accept being > resized if it is not mapped ;) So the decision is, wether to > live with flicker or not, I will see if I can develop a sane > solution for the problem (before this change XMoveWindow() made > sure that the y-coordinate is correct in any case, however the > old behavior hided the fact, that ff internally lived with a > different geometry information). ff is a nightmare ;) I pushed a "fix" (rev 929), please recheck. Regards, -- Anselm R. Garbe >< http://www.suckless.org/ >< GPG key: 0D73F361
Re: [dwm] dwm-4.4 is on its way
On Mon, Jul 30, 2007 at 10:52:19AM +0200, Antoni Grzymała wrote: > On Mon, 30 Jul 2007 06:50:55 +0200, Jeremy O'Brien <[EMAIL PROTECTED]> > wrote: > > >Hello there. A little off-topic from this thread, but I noticed in that > >screenshot that you have a "messages:6" line in your status bar. How in > >the heck did you get that to show there? I can't find any programs > >outside of gkrellm's mail monitor that supports maildir-style mailboxes. > >Thank you so much... > > Here's some bash code I use in my dwm status-bar script to show the number > of unread messages in my maildirs, just noticed it's got some hardcoded > regexp strings you need to change along with the ${DIRS} variable (in > other words, needs some cleaning up): > > > # Maildir UNREAD messages > > DIRS="/var/spool/mail/antoni/new/ /home/antoni/mail/*/new/" > > for dir in ${DIRS}; do > licznik=0 > for k in ${dir}/*; do > [[ -f ${k} ]] && ((licznik++)) > done > > if [[ ${licznik} -ne 0 ]]; then > dir=${dir/\/var\/spool\/mail\/antoni\/new\//Spool} > dir=${dir/\/home\/antoni\/mail\//} > dir=${dir/\/new\//} > MAIL="${dir}: ${licznik} · ${MAIL}" > fi > done > > > > All of my scripts are available at theka.tk/dwm if you're interested (may > not be current). > > Best, > > [a] > > Thank you. That worked like a charm. -- __neutral__insomniac__ pgpqnoMuz7YoB.pgp Description: PGP signature
Re: [dwm] dwm-4.4 is on its way
* Jeremy O'Brien <[EMAIL PROTECTED]> [Jul 30 2007 06:54] wrote: > Hello there. A little off-topic from this thread, but I noticed in that > screenshot that you have a "messages:6" line in your status bar. How in > the heck did you get that to show there? I can't find any programs > outside of gkrellm's mail monitor that supports maildir-style mailboxes. > Thank you so much... Hi, is use this for counting my new mails in Maildir: find ~/Maildir -name cur -or -name new | xargs -d "\n" -I "%s" ls "%s" | egrep "^[^/:]*(:[12],[^/S]*$)?$" | wc -l greetz didi pgp1jG6u5iMwv.pgp Description: PGP signature
Re: [dwm] dwm-4.4 is on its way
On Mon, 30 Jul 2007 10:52:19 +0200, Antoni Grzymała <[EMAIL PROTECTED]> wrote: hardcoded regexp strings you need to change along with the ${DIRS} variable (in other words, needs some cleaning up): dir=${dir/\/var\/spool\/mail\/antoni\/new\//Spool} dir=${dir/\/home\/antoni\/mail\//} dir=${dir/\/new\//} Err... Of course not *regexp* strings, just plain substitution, sorry. [a] -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Re: [dwm] dwm-4.4 is on its way
On Mon, 30 Jul 2007 06:50:55 +0200, Jeremy O'Brien <[EMAIL PROTECTED]> wrote: Hello there. A little off-topic from this thread, but I noticed in that screenshot that you have a "messages:6" line in your status bar. How in the heck did you get that to show there? I can't find any programs outside of gkrellm's mail monitor that supports maildir-style mailboxes. Thank you so much... Here's some bash code I use in my dwm status-bar script to show the number of unread messages in my maildirs, just noticed it's got some hardcoded regexp strings you need to change along with the ${DIRS} variable (in other words, needs some cleaning up): # Maildir UNREAD messages DIRS="/var/spool/mail/antoni/new/ /home/antoni/mail/*/new/" for dir in ${DIRS}; do licznik=0 for k in ${dir}/*; do [[ -f ${k} ]] && ((licznik++)) done if [[ ${licznik} -ne 0 ]]; then dir=${dir/\/var\/spool\/mail\/antoni\/new\//Spool} dir=${dir/\/home\/antoni\/mail\//} dir=${dir/\/new\//} MAIL="${dir}: ${licznik} · ${MAIL}" fi done All of my scripts are available at theka.tk/dwm if you're interested (may not be current). Best, [a] -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Re: [dwm] dwm-4.4 is on its way
Jeremy O'Brien --> dwm (2007-07-30 00:50:55 -0400): > Hello there. A little off-topic from this thread, but I noticed in that > screenshot that you have a "messages:6" line in your status bar. How in > the heck did you get that to show there? I can't find any programs > outside of gkrellm's mail monitor that supports maildir-style mailboxes. Me neither, but luckily I don't use maildir mailboxes ;-) The `messages: n' results from running `fetchmail -c' on some IMAP mailboxes and processing its output with awk(1). Regards, Jukka -- bashian roulette: $ ((RANDOM%6)) || rm -rf ~
Re: [dwm] dwm-4.4 is on its way
On Sun, Jul 29, 2007 at 12:58:00PM +0200, Jukka Salmi wrote: > Hi, > > Anselm R. Garbe --> dwm (2007-07-28 17:23:24 +0200): > > Hi there, > > > > I ask you to check the current hg tip (changeset 927+) to test > > dwm. Especially those using Mathematica having trouble with the > > so-called greyish blobs bug. I changed the mechanism how dwm > > bans resp. unbans windows. Since dwm 0.1 it banned/unbanned > > windows through XMoveWindow()-ing them off- and onscreen. Now > > dwm uses X[Un]mapWindow() for this purpose. > > When starting Firefox in tiling layout, its window is now positioned > as if there were no status bar. This happens most of the time, but no > always (!?). See [1]here. Starting another client on the same tag seems > to fix the broke positioning. > > > Regards, Jukka > > [1] http://salmi.ch/~jukka/dwm/ff.png > > -- > bashian roulette: > $ ((RANDOM%6)) || rm -rf ~ > Hello there. A little off-topic from this thread, but I noticed in that screenshot that you have a "messages:6" line in your status bar. How in the heck did you get that to show there? I can't find any programs outside of gkrellm's mail monitor that supports maildir-style mailboxes. Thank you so much... -- __neutral__insomniac__ pgpJfgXgVCWzK.pgp Description: PGP signature
Re: [dwm] dwm-4.4 is on its way
Hi Jukka, On Sun, Jul 29, 2007 at 12:58:00PM +0200, Jukka Salmi wrote: > Anselm R. Garbe --> dwm (2007-07-28 17:23:24 +0200): > > I ask you to check the current hg tip (changeset 927+) to test > > dwm. Especially those using Mathematica having trouble with the > > so-called greyish blobs bug. I changed the mechanism how dwm > > bans resp. unbans windows. Since dwm 0.1 it banned/unbanned > > windows through XMoveWindow()-ing them off- and onscreen. Now > > dwm uses X[Un]mapWindow() for this purpose. > > When starting Firefox in tiling layout, its window is now positioned > as if there were no status bar. This happens most of the time, but no > always (!?). See [1]here. Starting another client on the same tag seems > to fix the broke positioning. > > > Regards, Jukka > > [1] http://salmi.ch/~jukka/dwm/ff.png It seems being related that firefox does not really accept being resized if it is not mapped ;) So the decision is, wether to live with flicker or not, I will see if I can develop a sane solution for the problem (before this change XMoveWindow() made sure that the y-coordinate is correct in any case, however the old behavior hided the fact, that ff internally lived with a different geometry information). ff is a nightmare ;) Regards, -- Anselm R. Garbe >< http://www.suckless.org/ >< GPG key: 0D73F361
Re: [dwm] dwm-4.4 is on its way
Hi, Anselm R. Garbe --> dwm (2007-07-28 17:23:24 +0200): > Hi there, > > I ask you to check the current hg tip (changeset 927+) to test > dwm. Especially those using Mathematica having trouble with the > so-called greyish blobs bug. I changed the mechanism how dwm > bans resp. unbans windows. Since dwm 0.1 it banned/unbanned > windows through XMoveWindow()-ing them off- and onscreen. Now > dwm uses X[Un]mapWindow() for this purpose. When starting Firefox in tiling layout, its window is now positioned as if there were no status bar. This happens most of the time, but no always (!?). See [1]here. Starting another client on the same tag seems to fix the broke positioning. Regards, Jukka [1] http://salmi.ch/~jukka/dwm/ff.png -- bashian roulette: $ ((RANDOM%6)) || rm -rf ~
[dwm] dwm-4.4 is on its way
Hi there, I ask you to check the current hg tip (changeset 927+) to test dwm. Especially those using Mathematica having trouble with the so-called greyish blobs bug. I changed the mechanism how dwm bans resp. unbans windows. Since dwm 0.1 it banned/unbanned windows through XMoveWindow()-ing them off- and onscreen. Now dwm uses X[Un]mapWindow() for this purpose. Regards, -- Anselm R. Garbe >< http://www.suckless.org/ >< GPG key: 0D73F361