Re: [dwm] Irc channel moved

2009-05-20 Thread Szabolcs Nagy
On 5/20/09, Uriel urie...@gmail.com wrote: For simplicity and consistency #dwm and #wmii have moved to #hackers. Still in the oftc network. #suckless

Re: [dwm] dwm's future

2009-04-29 Thread Szabolcs Nagy
I like free software. But not GPL? It's just another lock in which is getting too big. Sure, if you want to make proprietary software... If you want to be free from wacko organisations. this fruitful discussion shall end here

Re: [dwm] dwm's future

2009-04-28 Thread Szabolcs Nagy
On 4/28/09, Martin Oppegaard mar...@deathaven.com wrote: Are there any BSD-style licensed equivalents? scipy.org

Re: [dwm] [idea] mwm - minimal/minimun/monocle window manager

2009-04-27 Thread Szabolcs Nagy
On 4/27/09, Preben Randhol rand...@pvv.org wrote: On Sun, 26 Apr 2009 18:44:18 -0300 Leandro Chescotta leandro.chesco...@gmail.com wrote: *Wra!thhttp://bbs.archlinux.org/profile.php?id=24472in archlinux forums But I can recommend The C Programming Language

Re: [dwm] dwm's future

2009-04-25 Thread Szabolcs Nagy
On 4/25/09, Christian Garbs mi...@cgarbs.de wrote: work, even without pango or cairo. I have German umlauts as well as Japanese characters (eg. web page titles from Firefox). try greek or cyrillic i had trouble with those when fonts were loaded with XCreateFontSet

Re: [dwm] dwm's future

2009-04-25 Thread Szabolcs Nagy
On 4/25/09, Anselm R Garbe garb...@gmail.com wrote: 1. One idea is getting rid of the dwm bar altogether and to print the dwm state to stdout when it changes, however after thinking carefully about it I conclude that having the bar build-in is definately a stayer. It's so much simpler than the

Re: [dwm] dwm's future

2009-04-25 Thread Szabolcs Nagy
On 4/26/09, Christian Garbs mi...@cgarbs.de wrote: On Sat, Apr 25, 2009 at 11:06:08PM +0100, Szabolcs Nagy wrote: On 4/25/09, Christian Garbs mi...@cgarbs.de wrote: work, even without pango or cairo. I have German umlauts as well as Japanese characters (eg. web page titles from Firefox

Re: [dwm] uzbl. A browser that adheres to the unix philosophy.

2009-04-23 Thread Szabolcs Nagy
On 4/23/09, pmarin pacog...@gmail.com wrote: Try the last version of Dillo2. It is starting to support CSS and in the next version (Dillo 2.1) will support keybinding. dillo used to be nice.. until it started using c++ i'd rather use the tcl/tk html viewer, hv3 On Thu, Apr 23, 2009 at 11:45

Re: [dwm] Font recomendation to get unicode in statusbar?

2009-04-18 Thread Szabolcs Nagy
On 4/17/09, Preben Randhol rand...@pvv.org wrote: Problem is that fixed font in xterm looks nice, but in the status bar it looks ugly for Greek language. the letters are both bold and italic. How do you define font[] ? you are right greek looks ugly here as well maybe the XCreateFontSet() +

Re: [dwm] dwm-5.5 / dmenu-4.0

2009-04-18 Thread Szabolcs Nagy
On 4/18/09, Anselm R Garbe garb...@gmail.com wrote: The new dwm release contains various bugfixes and code cleanups there is a very long line in grabbuttons() the usual 80chars limit is probably too low, but 120 chars is not nice style the reported font problem is bothering me a bit, these font

Re: [dwm] Font recomendation to get unicode in statusbar?

2009-04-17 Thread Szabolcs Nagy
On 4/17/09, Preben Randhol rand...@pvv.org wrote: Is there another font you would recommend that works with unicode? fixed font more details: http://www.cl.cam.ac.uk/~mgk25/ucs-fonts.html

Re: [dwm] [dmenu] OPTFLAGS in config.mk + patch

2009-04-08 Thread Szabolcs Nagy
On 4/8/09, Daniel Bainton d...@driftaway.org wrote: 2009/4/8 Jan Blazek appoli...@gmail.com: +OPTFLAGS = -Os This wont make any difference, you can't pass it from the command line like this anyway. You're overwriting OPTFLAGS here all the time to -Os. You'll have to use the following for it

Re: [dwm] [PATCH] dwm: remove unused variable ntiled in showhide()

2009-03-19 Thread Szabolcs Nagy
On 3/18/09, Marc Andre Tanner m...@brain-dump.org wrote: There seems to be an unused variable in the showhide function. heh it was introduced for adjustborder, but then it wasn't removed.. http://code.suckless.org/hg/dwm/rev/8b7836a471f8 nice catch

Re: [dwm] autoconf

2009-03-19 Thread Szabolcs Nagy
On 3/19/09, Anselm R Garbe garb...@gmail.com wrote: 2009/3/19 bill lam cbill@gmail.com: - die(dwm-VERSION, © 2006-2009 dwm engineers, see LICENSE for details\n); Not related to autoconfm but I notice the copyright sign is in utf-8. If dwm is compiled in other locale, will it

Re: [dwm] autoconf

2009-03-19 Thread Szabolcs Nagy
On 3/19/09, Nico Golde n...@ngolde.de wrote: Please read the FAQ: http://suckless.org/common/faq hm the 9fans link is dead, and neither 9fans[0] nor google[1] has the entire thread archived anyway, the main complaints: - difficult to use by the user: --parameters - difficult to use by the

Re: [dwm] Suckess Code Management

2009-03-12 Thread Szabolcs Nagy
s/DWM/dwm/

Re: [dwm] Wiki date format

2009-03-11 Thread Szabolcs Nagy
On 3/11/09, markus schnalke mei...@marmaro.de wrote: /mm/dd is not worst but still worse than -mm-dd. The latter one is a standard, and it is usable in filenames. imho that's the point of '/' dates in werc, eg. see: http://ninetimes.cat-v.org/news/2009/03/06/

Re: [dwm] C unit testing

2009-03-10 Thread Szabolcs Nagy
On 3/10/09, Anselm R Garbe garb...@gmail.com wrote: 2009/3/10 Richard Pöttler richard.poett...@gmail.com: I just wanted to ask you guys if you could recommend me a tool to unit test my C code. So far I only found CUnit, Check and CuTest but haven't dug into any of them. Do you have any

Re: [dwm] [dwm+ow...@suckless.org: Messages from dwm@suckless.org to you have been bouncing]

2009-03-05 Thread Szabolcs Nagy
On 3/5/09, Joerg van den Hoff j.van_den_h...@fzd.de wrote: I now want to check _which_ messages exactly have bounced (if at all). question: how can I identify the mail in the mail archive from the message number given in the bounce message? there seems to be no way (except counting myself...)

Re: [dwm] [dwm+ow...@suckless.org: Messages from dwm@suckless.org to you have been bouncing]

2009-03-05 Thread Szabolcs Nagy
On 3/5/09, Szabolcs Nagy nszabo...@gmail.com wrote: 7587 messages: Starting Wed Jul 19 2006 - 06:39:23 UTC, Ending Thu Mar 05 2009 - 08:03:46 UTC so i wonder which is the no. 7600 if there is only 7538.. 7587 (sorry)

Re: [dwm] CLI color/font override patch

2009-02-24 Thread Szabolcs Nagy
On 2/24/09, Ian Daniher it.dani...@gmail.com wrote: ~25seconds), I sought to patch dwm to support -fn and other appearance changes. why font+colors? what about borderpx, snap, showbar, topbar, usegrab, mfact and resizehints while you are at it? anyway if i changed something in the config it

Re: [dwm] [OT] Personal Website and CSS

2009-02-23 Thread Szabolcs Nagy
On 2/23/09, David Tweed david.tw...@gmail.com wrote: problems if things must be stateful. (Does anyone actually know how something like 9P works on a really, really unreliable network connection?) i'm not a network expert, but the underlying protocol seems simple and well designed In contrast

Re: [dwm] Google Summer of Code 2009

2009-02-21 Thread Szabolcs Nagy
On 2/20/09, mi...@milesgroman.com mi...@milesgroman.com wrote: Are you allowed to participate outside of google soc ? what do you mean by that? participating in the suckless project? contributions are wellcome

Re: [dwm] [OT] Personal Website and CSS

2009-02-18 Thread Szabolcs Nagy
On 2/18/09, Matthias-Christian Ott o...@mirix.org wrote: minimalism. What annoyed me then and now was CSS and its implementations in modern browsers. css cannot be implemented (..in a suckless way) there seems to be no agreed standard for a default CSS stylesheet merely a recommendation from

Re: [dwm] floating rule when only WM_NAME defined?

2009-02-16 Thread Szabolcs Nagy
On 2/16/09, Adam adam.listm...@gmail.com wrote: WM_NAME(STRING) = GREG I have tried using GREG in every permutation possible in the rules of config.h, but that doesnt work. Is there any other way to get such a window to always float? WM_NAME property should be the title is that window have

Re: [dwm] nmaster strikes back

2009-02-11 Thread Szabolcs Nagy
On 2/11/09, Peter Hartlich sg...@hartlich.com wrote: It would however be useless without the setnmaster() function clocking in at 13 LOC, same as setmfact(). But the two have most of their code in common: 1. Verify layout != floating 2. Verify arg is within bounds 3. Set

Re: [dwm] stdin to statusbar output removed?

2009-02-10 Thread Szabolcs Nagy
On 2/10/09, Neale Pickett ne...@woozle.org wrote: http://thread.gmane.org/gmane.comp.window-managers.dwm/6874 And here Anselm announces it's going in: http://thread.gmane.org/gmane.comp.window-managers.dwm/6924 fyi we have perfectly nice list archives: http://lists.suckless.org/dwm/

Re: [dwm] No Border Behaviour

2009-01-08 Thread Szabolcs Nagy
On 1/9/09, voltaic volt...@gmail.com wrote: I agree with Matthias. The purpose of a border is to separate one client from another. If there is only one client visible at a given time (i.e. monocle) then borders in my opinion are a waste of space. what's the problem? that's how tip works read

Re: [dwm] last.fm + youtube downloader scripts

2009-01-06 Thread Szabolcs Nagy
On 1/6/09, Alexander Polakov polac...@gmail.com wrote: http://www.arrakis.es/~rggi3/youtube-dl/ that's overcomplicated and does not support every kind of youtube links here is another version that supports playlists, embedded /v/ and /watch? urls as well: http://port70.net/~nsz/y/yget.sh

Re: [dwm] [dclip] dmenu-based clipboard manager

2009-01-05 Thread Szabolcs Nagy
On 1/5/09, Delta delta.tecb...@gmail.com wrote: On 2009-01-04, 18:52 Szabolcs Nagy (nszabo...@gmail.com) wrote: also i got error message when copy-pasted text with '$' in it (imho it should be escaped) What error message do you get? Do you get it with other characters? sorry, the problem

Re: [dwm] 25c3

2008-12-28 Thread Szabolcs Nagy
On 12/14/08, Anselm R Garbe garb...@gmail.com wrote: I plan a lightning talk on the 28/12 in the morning about st and the secret project... sooo.. what is the secret project? ;) or is the talk scheduled later? what's happened?

Re: [dwm] dwm-5.3

2008-12-14 Thread Szabolcs Nagy
On 12/13/08, James Turner ja...@bsdgroup.org wrote: man signal on OpenBSD also states to #include signal.h, it's just signal.h includes sys/signal.h and for the function used by dwm sys/signal.h is all that is required on OpenBSD. I don't run any other systems so if signal.h is more portable

Re: [dwm] dwm-5.3

2008-12-09 Thread Szabolcs Nagy
On 12/8/08, Neale Pickett [EMAIL PROTECTED] wrote: I sort of like the idea of using X properties. You could use xprop to one of the most ununixy interfaces man XGetWindowProperty

Re: [dwm] Using dwm as a nested manager?

2008-12-06 Thread Szabolcs Nagy
On 12/6/08, Anselm R Garbe [EMAIL PROTECTED] wrote: ... However what do you miss in dwm that you don't like to manage all windows? i can think of a few issues: - java awt bug - apps with many popup windows - apps which does not handle resizals correctly (eg matlab uses split areas in its main

Re: [dwm] What happened to the -i argument?

2008-11-19 Thread Szabolcs Nagy
On 11/19/08, Eyolf Østrem [EMAIL PROTECTED] wrote: 2. Is there a chance of getting the former mode back again? you can manually add the strcaseido() matcher from 3.4 http://code.suckless.org/hg/dmenu/file/3.4/dmenu.c#l625

Re: [dwm] How to detect TAG activity?

2008-11-04 Thread Szabolcs Nagy
On 11/4/08, yy [EMAIL PROTECTED] wrote: I could do it. I can submit it today or tomorrow, but then I think wmu should be included in the hg repository (the script could go inside i thought xprop can do this (setting the urgency flag of the WM_HINTS property), but it seems xprop is a fail +1

Re: [dwm] OT: dwm log from today (Oct 30)

2008-10-31 Thread Szabolcs Nagy
On 10/31/08, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: can someone please mail me the dwm.log for today. I have a gap there, even if I might expect a gap in the log I want to know :) Thanks. what dwm.log? you mean the mailing list archive? or irc archive?

Re: [dwm] OT: dwm log from today (Oct 30)

2008-10-31 Thread Szabolcs Nagy
On 10/31/08, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: irc from Oct. 30 http://port70.net/~nsz/dwm-1030.log i don't see any noteworthy in it though..

Re: [dwm] unsubscribe

2008-10-17 Thread Szabolcs Nagy
try [EMAIL PROTECTED] (if you haven't already..) On 10/17/08, Henrik Holst [EMAIL PROTECTED] wrote: -- Henrik Holst, Sweden | TYPING IS NO SUBSTITUTE FOR THINKING holst CHR(64) matmech.com | - A Manual for BASIC, | Darthmouth College, 1 October 1964

Re: [dwm] Inclusion of DWM Wiki Pages in DWM tarball

2008-09-07 Thread Szabolcs Nagy
On 9/7/08, Amit Uttamchandani [EMAIL PROTECTED] wrote: Why not include the DWM wiki pages in a doc/ directory in the source tarball? It wouldn't bump up the size significantly and it would greatly help a lot of users. I guess one could ask why not just go to the online browse the wiki? In my

Re: [dwm] malloc'ed client in manage()

2008-09-07 Thread Szabolcs Nagy
On 9/6/08, Filippo Erik Negroni [EMAIL PROTECTED] wrote: A preferable, safer and more portable way of achieving such initialisation is to use the compiler's static initialisation. is it because of null pointer might not be represented as zeros? the point is good, but i doubt X would run on

Re: [dwm] malloc'ed client in manage()

2008-09-07 Thread Szabolcs Nagy
On 9/7/08, Nicolas Martyanoff [EMAIL PROTECTED] wrote: I think it's quite explicit: the NULL macro expands to 0. NULL macro does not necessaryly expands to 0, but this is basic knowledge look it up in the standard. what am i concerned about is the internal null pointer representation (which has

Re: [dwm] malloc'ed client in manage()

2008-09-07 Thread Szabolcs Nagy
On 9/7/08, Matthias-Christian Ott [EMAIL PROTECTED] wrote: Nicolas Martyanoff wrote: Does anyone know whether there are architectures where NULL is not equal to 0? this question occasionally appears on comp.lang.c and there exists such beast, but i cannot find the reference now probably it's

Re: [dwm] malloc'ed client in manage()

2008-09-07 Thread Szabolcs Nagy
On 9/7/08, Nicolas Martyanoff [EMAIL PROTECTED] wrote: If NULL expands to 0, then basic logic tells me that the null pointer constant is 0; if I'm making a logic error, what is it ? you expect that the symbol '0' means the same for integers and pointers, but it's not (as i wrote earlier:

Re: [dwm] malloc'ed client in manage()

2008-09-07 Thread Szabolcs Nagy
On 9/7/08, Matthias-Christian Ott [EMAIL PROTECTED] wrote: Does anyone know whether there are architectures where NULL is not equal to 0? see question 1.14: http://www.lysator.liu.se/c/c-faq/c-1.html#1-14 (last modified in 1994)

Re: [dwm] dwm: request to discuss

2008-08-30 Thread Szabolcs Nagy
On 8/30/08, Chris Monson [EMAIL PROTECTED] wrote: On Sat, Aug 30, 2008 at 2:11 AM, Maxim Vuets [EMAIL PROTECTED] wrote: 2008/8/29, Matthias-Christian Ott [EMAIL PROTECTED]: You are using Apache? Shame on you ;). Seriously Apache is definitively not suckless. (: propose something less

Re: [dwm] [patch] Minor code cleanup, part 2

2008-08-14 Thread Szabolcs Nagy
On 8/14/08, Martin Hurton [EMAIL PROTECTED] wrote: if((rettrans = XGetTransientForHint(dpy, w, trans) == Success)) - for(t = clients; t t-win != trans; t = t-next); + t = getclient(trans); nice what about - if((rettrans = XGetTransientForHint(dpy, w, trans)

Re: [dwm] [patch] Minor code cleanup, part 2

2008-08-14 Thread Szabolcs Nagy
On 8/14/08, Martin Hurton [EMAIL PROTECTED] wrote: Can you apply the following patch too? According to spec the XGetTransientForHint() function returns non zero value on success while the Success value is defined as zero (see /usr/include/X11/X.h). I'm not quite sure about this change. eg. X

Re: [dwm] [patch] Minor code cleanup, part 2

2008-08-14 Thread Szabolcs Nagy
On 8/14/08, Martin Hurton [EMAIL PROTECTED] wrote: Those other checks seems ok to me. what's the difference? either you assert Success==0, so the identifier 'Success' is not needed anywhere, or using Success is mandatory i don't see why would one mix the two.

Re: [dwm] [patch] Minor code cleanup, part 2

2008-08-14 Thread Szabolcs Nagy
On 8/14/08, Szabolcs Nagy [EMAIL PROTECTED] wrote: what's the difference? ah, never mind i see what you meant /me failed

Re: [dwm] [patch] minor cleanups

2008-08-10 Thread Szabolcs Nagy
On 8/4/08, Johannes Hofmann [EMAIL PROTECTED] wrote: attached are two minor cleanups. The first simplifies grabkeys() similar to grabbuttons(). i've just realized that there is a problem with the patch: numlockmask is modified but modifiers isn't void grabkeys(void) { unsigned int i,

Re: [dwm] Help with the tags mask syntax

2008-08-10 Thread Szabolcs Nagy
On 8/11/08, Giorgio Lando [EMAIL PROTECTED] wrote: I still do not understand how this relates to tag masks like 1 8 - 1, or ~0, which I have seen in some config.h, but I will look to your examples http://en.wikipedia.org/wiki/Bitwise_operation#Arithmetic_shift

Re: [dwm] rationale for resizehints=False?

2008-08-07 Thread Szabolcs Nagy
On 8/7/08, Donald Chai [EMAIL PROTECTED] wrote: I have tile set the height of A *precisely* to wh (A-h = wh). Resize hints are used for the width (A-w = A-basew + n*A-incw for some n such that |A-w - mfact*ww| A-incw). For B and C, the width is set precisely (B-w = ww - A-w), and resize hints

Re: [dwm] Purpose of Monocle Layout

2008-08-04 Thread Szabolcs Nagy
On 8/4/08, Antony Jepson [EMAIL PROTECTED] wrote: It is definitely useful on large screens. At a 1680x1050 resolution, a full screen Web browser is a God-send. wide screen browser? i don't see the point.. may be with scaled up fonts, otherwise reading lot of text in one line would be hard on

Re: [dwm] dwm + gkrellm. gkrellm in all tags + apps not over it

2008-08-04 Thread Szabolcs Nagy
On 8/4/08, Anselm R Garbe [EMAIL PROTECTED] wrote: Also you might patch dwm.c to leave some space on the right for the window, e.g. in updategeom: wh-=200; decreasing window area height would leave space at the _bottom_ ww-=200; is probably what you meant ;)

Re: [dwm] [patch] minor cleanups

2008-08-04 Thread Szabolcs Nagy
On 8/4/08, Johannes Hofmann [EMAIL PROTECTED] wrote: attached are two minor cleanups. The first simplifies grabkeys() similar to grabbuttons(). The second removes isurgent() and isoccupied(). This also means that we need to loop over all clients only once in drawbar() now. looks nice thanks

Re: [dwm] unsigned int or size_t

2008-07-31 Thread Szabolcs Nagy
On 7/31/08, Filippo Erik Negroni [EMAIL PROTECTED] wrote: Hi All, I noticed the code in dwm uses unsigned int for positive counters of memory arrays instead of size_t. Is there a particular reason you don't use size_t in order to convey that you are using that quantity as a counter of memory

Re: [dwm] Coding styles

2008-07-31 Thread Szabolcs Nagy
i too tired to comment on every rule On 7/31/08, Anselm R Garbe [EMAIL PROTECTED] wrote: #define UINT unsigned int and that looks better to me. The problem with doing typedef unsigned int uint; is, that uint might be typedef'd already on some system, but maybe not on yes, but one should

Re: [dwm] Coding styles

2008-07-31 Thread Szabolcs Nagy
On 7/31/08, pancake [EMAIL PROTECTED] wrote: Yeah, eclipse is a very standard tool. Using ANT is far more better than using make. IMHO make is also a weird tool that should be replaced from ant manual: 'Makefiles are inherently evil as well. Anybody who has worked on them for any time has run

Re: [dwm] DWMII layout for DWM 5.1, a better integration !!!

2008-07-30 Thread Szabolcs Nagy
On 7/30/08, QUINTIN Guillaume [EMAIL PROTECTED] wrote: The only modification is within the Client struct and holds in 11 chars : int dwmii;\n. This modification prevents from having a more yes the dwm config.h api is that powerful :) i'd put all the layout code in a separate file though, and

Re: [dwm] save cpu cycles - bar status and wrapper scripts

2008-07-30 Thread Szabolcs Nagy
On 7/30/08, Kurt H Maier [EMAIL PROTECTED] wrote: static const char *barcmd[] = { /path/to/script /path/to/pipe, NULL }; SHCMD(/path/to/script /path/to/pipe) macro should be used there (so the '' is interpreted by the shell)

Re: [dwm] Being not so elitist

2008-07-29 Thread Szabolcs Nagy
On 7/29/08, Anselm R Garbe [EMAIL PROTECTED] wrote: Hi, 2008/7/29 markus schnalke [EMAIL PROTECTED]: This keeps its userbase small and elitist. No novices asking stupid questions. Well, I removed this statement, now. It was on purpose 2 years ago, though. It wasn't intended

Re: [dwm] Being not so elitist

2008-07-29 Thread Szabolcs Nagy
On 7/29/08, Antony Jepson [EMAIL PROTECTED] wrote: I say keep the sentence on the dwm homepage. It makes a statement and a clear one at that. reading back the thread, the wording could be softer to offend less ppl s/No novices asking stupid questions/No novices asking silly questions/

Re: [dwm] horitzontal split layout

2008-07-20 Thread Szabolcs Nagy
On 7/20/08, pancake [EMAIL PROTECTED] wrote: if (n) for(i = 0, c = nexttiled(clients); c; c = nexttiled(c-next),i++) resize(c, 0, (showbar?bh:0) + ((wh/n)*i), ww-(c-bw1), (wh/n)-(c-bw1),0); instead of showbar?: use wy bw1 is an overkill optimization after you

Re: [dwm] Border on fullscreen WINE apps and tag masks

2008-07-18 Thread Szabolcs Nagy
On 7/18/08, Antoni Grzymala [EMAIL PROTECTED] wrote: xprop reads as follows: WM_CLASS(STRING) = stalonetray, stalonetray [...] Hi, I came across a similar bug today, when xconsole and a tiny tcl/tk would not be subject to tagging rules in current hg tip based upon the WM_CLASS, even

Re: [dwm] Border on fullscreen WINE apps and tag masks

2008-07-17 Thread Szabolcs Nagy
On 7/18/08, Alex Matviychuk [EMAIL PROTECTED] wrote: 1.) In the config.def.h file for DWM 5.0.1 there is a Tag Mask field and I'm not quite sure how to use. When I start up DWM I have stalonetray launch from .xinitrc and I'd like it to go to my 4th tag. What is the best way to do this? tag

Re: [dwm] little bug

2008-07-02 Thread Szabolcs Nagy
On 7/2/08, QUINTIN Guillaume [EMAIL PROTECTED] wrote: A little bug I found, so I fixed it ! this is the dwm ml, there is a wmii ml as well

Re: [dwm] little bug

2008-07-02 Thread Szabolcs Nagy
On 7/2/08, Szabolcs Nagy [EMAIL PROTECTED] wrote: On 7/2/08, QUINTIN Guillaume [EMAIL PROTECTED] wrote: A little bug I found, so I fixed it ! this is the dwm ml, there is a wmii ml as well oh sorry i misread (..wmii.diff confused me) ..so this is a dwm patch

Re: [dwm] [OT] Which dragon book: red or green?

2008-06-29 Thread Szabolcs Nagy
On 6/29/08, Hugo Tavares Reis [EMAIL PROTECTED] wrote: the red one. -htr On 6/28/08, markus schnalke [EMAIL PROTECTED] wrote: (I dont want the newest one from 2006.) what's wrong with the purple one?

Re: [dwm] dwm exits with segm fault after last compile

2008-06-22 Thread Szabolcs Nagy
On 6/21/08, Leandro Chescotta [EMAIL PROTECTED] wrote: 1) get mplayer working right in dwm, i get a tiled mplayer window when i understand that it must be in the floating layer, and if i press f for fullscreen i get it fullscreen but below the other apps not in top off all for me fullscreen

Re: [dwm] dwm-5.0.1

2008-06-22 Thread Szabolcs Nagy
On 6/22/08, Arun G Nair [EMAIL PROTECTED] wrote: So to summarize, when you alt+space when in tile mode it goes to the last floating mode (monocle or float) used. Is it the intended behavior ? mod + space is setlayout(0) in config.def.h which seems to toggle the last bit of the selected layout

Re: [dwm] Need a small image resize program

2008-06-13 Thread Szabolcs Nagy
On 6/13/08, markus schnalke [EMAIL PROTECTED] wrote: I feel the need for a image resize program that matches the Unix and suckless philosophy. image resize is a non-trivial task (there are many possible filters with different characteristics) also saving an image in a lossy format (.jpg) will

Re: [dwm] [patch] spawn without shell

2008-06-09 Thread Szabolcs Nagy
On 6/9/08, Peter Hartlich [EMAIL PROTECTED] wrote: Though if it is really sh that is used (and not bash etc.), there no currently getenv(SHELL) is used

[dwm] textnw fix

2008-06-08 Thread Szabolcs Nagy
XTextWidth returns int and now in most places textnw is used as int thus i propose -uint textnw +int textnw (it adds 2 LOCs without much gain though..) diff -r c4152a0199c8 dwm.c --- a/dwm.c Fri Jun 06 11:49:31 2008 +0200 +++ b/dwm.c Sun Jun 08 09:28:25 2008 +0200 @@ -166,7 +166,7 @@

Re: [dwm] patch from pkgsrc

2008-06-04 Thread Szabolcs Nagy
On 6/4/08, pancake [EMAIL PROTECTED] wrote: so? adding so many flags (-std -pedantic, ... makes it less portable (for other compilers), so i will encourage to use ?= instead of = for this kind of options. seems standard posix make doesn't have ?= (gnu and bsd make has it though..)

Re: [dwm] tile bug if window has size of screen

2008-05-31 Thread Szabolcs Nagy
On 5/31/08, Johannes Hofmann [EMAIL PROTECTED] wrote: in tip I see a weirdness whenever a new client has exactly the size of the screen. On my laptop e.g. xpdf -geometry 1400x1050 makes the tiled layout go crazy. bisect shows that 941bd7c15a32 introduced this behaviour. i can confirm it

Re: [dwm] Bottom Stack for 4.9

2008-05-29 Thread Szabolcs Nagy
On 5/29/08, Jonny Gerold [EMAIL PROTECTED] wrote: Which one? The 4.7 or the 5.0 patch, because I think I tried both, and neither worked for me? How did you patch it? you don't need to patch dwm to get bottomstack for quite some time now. you need to write a layout function. the layout api

Re: [dwm] way towards 5.0

2008-05-22 Thread Szabolcs Nagy
On 5/22/08, Johannes Hofmann [EMAIL PROTECTED] wrote: while true do echo temp $((`sysctl -n hw.acpi.thermal.tz0.temperature`/10-273))°C batt `sysctl -n hw.acpi.battery.life`% sleep 1 done | while true; do dwm done this way the information in the statusbar is

Re: [dwm] way towards 5.0

2008-05-22 Thread Szabolcs Nagy
On 5/22/08, Szabolcs Nagy [EMAIL PROTECTED] wrote: this way the information in the statusbar is outdated (by 1 second) ah sorry this is bullshit never mind

Re: [dwm] using bitaray for tags (PATCH)

2008-05-22 Thread Szabolcs Nagy
On 5/22/08, David Tweed [EMAIL PROTECTED] wrote: #define TAGMASK ((int)((1LL LENGTH(tags) + 1) - 1)) Incidentally, I think in the alphabet soup misdesign of C numeric constants, I suspect the code probably wants 1ULL and given long long is 64-bits and int is 32-bit on most 64-bit

Re: [dwm] using bitaray for tags (PATCH)

2008-05-21 Thread Szabolcs Nagy
On 5/21/08, Enno Gottox Boland [EMAIL PROTECTED] wrote: the (1 tagnum) in rules is a bit nasty it is probably nicer to do the shifting in setup(); you mean in applyrules? - No I don't think so. It adds much more flexibility. You can define bitmasks as 0b10001 to tag a client to the first

Re: [dwm] using bitaray for tags (PATCH)

2008-05-21 Thread Szabolcs Nagy
On 5/21/08, markus schnalke [EMAIL PROTECTED] wrote: I read, that bit-arrays are not very portable between different architectures. (It was in The practice of programming, I think) it's not exactly a bit array (arbitrary number of bits implemented eg. as char array), it's only one int (with bit

Re: [dwm] Freedom (was: Re: sic ipv6 patch)

2008-05-20 Thread Szabolcs Nagy
On 5/20/08, hiro [EMAIL PROTECTED] wrote: What do you think about the freedom to remove the freedom from the code? cut any other's freedom. On the other hand everyone could use your code, and noone would even notice. It does *no* harm to others. sure it does if i start selling dwm for money

Re: [dwm] Freedom (was: Re: sic ipv6 patch)

2008-05-20 Thread Szabolcs Nagy
On 5/20/08, Kurt H Maier [EMAIL PROTECTED] wrote: (eg. allowing to kill is more free by your definition (less restrictions), but if we care about consequences then it's less free (it may pose much more restrictions on the possibilities of an individual)) This is a specious analogy. When you

Re: [dwm] more consistent codestyle patch

2008-05-14 Thread Szabolcs Nagy
On 5/14/08, Diego Biurrun [EMAIL PROTECTED] wrote: used spaces to achieve this which is wrong You have an interesting concept of wrong. It was certainly intentional. no (it was consistently tab only indenting in most places) It was consistently aligned with the help of tabs and spaces.

[dwm] more consistent codestyle patch

2008-05-13 Thread Szabolcs Nagy
simple modifications (whitespce, line wrapping) diff -r f939086fa41d dwm.c --- a/dwm.c Tue May 13 11:27:20 2008 +0100 +++ b/dwm.c Tue May 13 14:03:20 2008 +0200 @@ -595,7 +595,7 @@ drawtext(const char *text, unsigned long x = dc.x + (h / 2); /* shorten text if necessary */ for(; len (w =

Re: [dwm] more consistent codestyle patch

2008-05-13 Thread Szabolcs Nagy
On 5/13/08, Diego Biurrun [EMAIL PROTECTED] wrote: On Tue, May 13, 2008 at 02:05:27PM +0200, Szabolcs Nagy wrote: simple modifications (whitespce, line wrapping) U... All of this looks like code uglification to me... well imho consistent code style is better than inconsistent especially

Re: [dwm] more consistent codestyle patch

2008-05-13 Thread Szabolcs Nagy
one more little patch please review diff -r 33ba827ee84e dwm.c --- a/dwm.c Tue May 13 14:33:02 2008 +0100 +++ b/dwm.c Tue May 13 19:01:59 2008 +0200 @@ -504,7 +504,7 @@ detachstack(Client *c) { Client **tc; - for(tc=stack; *tc *tc != c; tc=(*tc)-snext); + for(tc = stack; *tc *tc != c; tc =

[dwm] dijkstra quote

2008-05-07 Thread Szabolcs Nagy
a dijkstra quote [1] i've just stumbled upon and would like to share: The practice is pervaded by the reassuring illusion that programs are just devices like any others, the only difference admitted being that their manufacture might require a new type of craftsmen, viz. programmers. From there

Re: [dwm] snapping bugs with multiple screens

2008-05-05 Thread Szabolcs Nagy
On 5/5/08, Matthias-Christian Ott [EMAIL PROTECTED] wrote: Let's do a poll! you meant technical discussion this is not fashion or politics

[dwm] hg tip minor modification proposals

2008-05-05 Thread Szabolcs Nagy
1 unnecessary space after Layout definition 2 some may need lt in their config (eg i use lt-isfloating in my pushup/down algo) --- a/dwm.c Mon May 05 20:06:43 2008 +0200 +++ b/dwm.c Mon May 05 20:26:51 2008 +0200 @@ -112,7 +112,7 @@ const char *symbol; void

Re: [dwm] snapping bugs with multiple screens

2008-05-05 Thread Szabolcs Nagy
On 5/5/08, Matthias-Christian Ott [EMAIL PROTECTED] wrote: I want commented votes (as previously illustrated by example). -1 i personally don't use multihead keep the code clean

Re: [dwm] [OT] minimalistic bbs/forum

2008-04-11 Thread Szabolcs Nagy
On 4/11/08, Antoni Grzymala [EMAIL PROTECTED] wrote: Don't touch PHP even with a stick. It gives you intestine cancer and agreed There's a minimalist Ruby on Rails forum called beast[1]. don't touch ruby on rails with a stick if you need minimalistic code ...and become a webless friend if

Re: [dwm] dmenu, slock patches; slock DPMS crash

2008-04-10 Thread Szabolcs Nagy
On 4/9/08, Anselm R. Garbe [EMAIL PROTECTED] wrote: What is the problem with `sort | uniq'. Okay, it may be a bit slower, but beside that ...? There is no problem apart this. So if sort -u works with wmii as well, I see no reason to use | uniq. actually 'sort | uniq' is not (much) slower

Re: [dwm] Monocle question

2008-04-04 Thread Szabolcs Nagy
On 4/4/08, Dashing [EMAIL PROTECTED] wrote: Hi I use monocle mode a lot, but I don't like how dialog boxes get maximized. I noticed two versions for going through the clients exist: * for(c = clients; c; c = c-next) * for(c = nexttiled(clients); c; c = nexttiled(c-next)) Why does monocle

Re: [dwm] Monocle question

2008-04-04 Thread Szabolcs Nagy
On 4/4/08, Antoni Grzymala [EMAIL PROTECTED] wrote: Anselm R. Garbe dixit (2008-04-04, 11:35): Well what about having monocle work like this: just only raise and display the focused client in the monocle area, and restore the previous dimensions everytime a new client is focused? But

Re: [dwm] A rather radical thought

2008-04-02 Thread Szabolcs Nagy
On 4/2/08, Anselm R. Garbe [EMAIL PROTECTED] wrote: What about getting rid of supporting the selection of multiple \o/ tags at a time and celebrating the revival of the column layout of wmii again in dwm 5.0? What about getting rid of all the tiled layout flavors in favor for the column

Re: [dwm] horizontal/vertical tiling behaviour

2008-03-21 Thread Szabolcs Nagy
On 3/21/08, Anthony Brown [EMAIL PROTECTED] wrote: pressing mod-h the tiling toggles between horizontal and vertical. The same can be done with mod-v. From the function names in config.h I assume this is not the intended behaviour? intended: allows to toggle between current and last layout i

Re: [dwm] a lone client could be borderless

2008-03-21 Thread Szabolcs Nagy
On 3/21/08, markus schnalke [EMAIL PROTECTED] wrote: But anyway, special corner case handling leads to bad code. It conflicts with generality, which is one of the design principles. if you look into the code then you will realise that the 'one tiled client' case is handled specially anyway

Re: [dwm] found a nice way to do the setgeom stuff

2008-03-19 Thread Szabolcs Nagy
On 3/19/08, Anselm R. Garbe [EMAIL PROTECTED] wrote: The problem is: void configurenotify(XEvent *e) { XConfigureEvent *ev = e-xconfigure; if(ev-window == root (ev-width != sw || ev-height != sh)) { sw = ev-width; sh = ev-height; setgeom(NULL); } } This event handler is invoked

  1   2   >