[dwm] dwm with dzen status bar

2008-06-26 Thread Hugo Tavares Reis
hi. just fyi, I've uploaded a patched dwm to make it talk friendly with dzen. archive, settings and screenshot: http://nhak.org/hugo/dwm-dzen/ BR, -htr

Re: [dwm] dmenu - simplification of cistrstr and kpress

2008-06-26 Thread Premysl Hruby
On (26/06/08 17:24), Sander van Dijk wrote: > To: dynamic window manager > From: Sander van Dijk <[EMAIL PROTECTED]> > Subject: Re: [dwm] dmenu - simplification of cistrstr and kpress > Reply-To: dynamic window manager > List-Id: dynamic window manager > > That would be better, but then it stil

Re: [dwm] dmenu - simplification of cistrstr and kpress

2008-06-26 Thread Sander van Dijk
On 6/26/08, Marc Andre Tanner <[EMAIL PROTECTED]> wrote: > Premysl Hruby wrote: patch attached. >>> "return (char *)1;"? >>> >>> cistrstr(s, sub) is supposed to return a pointer to the first >>> occurence of "sub" in "s", or NULL if there is none; not some fixed >>> pointer to memory that's pr

Re: [dwm] dmenu - simplification of cistrstr and kpress

2008-06-26 Thread Marc Andre Tanner
Premysl Hruby wrote: patch attached. "return (char *)1;"? cistrstr(s, sub) is supposed to return a pointer to the first occurence of "sub" in "s", or NULL if there is none; not some fixed pointer to memory that's probably not even allocated to the process. Greetings, Sander. Yes, that's tru

Re: [dwm] dmenu - simplification of cistrstr and kpress

2008-06-26 Thread Premysl Hruby
On (26/06/08 16:33), Sander van Dijk wrote: > To: dynamic window manager > From: Sander van Dijk <[EMAIL PROTECTED]> > Subject: Re: [dwm] dmenu - simplification of cistrstr and kpress > Reply-To: dynamic window manager > List-Id: dynamic window manager > > On 6/26/08, Premysl Hruby <[EMAIL PROT

Re: [dwm] dmenu - simplification of cistrstr and kpress

2008-06-26 Thread Sander van Dijk
On 6/26/08, Premysl Hruby <[EMAIL PROTECTED]> wrote: > Hi, > > it also defines feature macro _BSD_SOURCE, so usleep and strdup is > declared. > > patch attached. "return (char *)1;"? cistrstr(s, sub) is supposed to return a pointer to the first occurence of "sub" in "s", or NULL if there is none;

[dwm] dmenu - simplification of cistrstr and kpress

2008-06-26 Thread Premysl Hruby
Hi, it also defines feature macro _BSD_SOURCE, so usleep and strdup is declared. patch attached. -Ph -- Premysl "Anydot" Hruby, http://www.redrum.cz/ diff -r 0088cc3243e3 config.mk --- a/config.mk Sat Jun 21 16:43:12 2008 +0100 +++ b/config.mk Wed Jun 25 23:09:40 2008 +0200 @@ -19,7 +19,7 @@