Re: [dev] color-scheme

2011-07-26 Thread Petr Sabata
On Mon, Jul 25, 2011 at 06:22:58PM +0200, ilf wrote: > What's your favorite color-scheme? I just came across this one: > http://ethanschoonover.com/solarized > > While this may not be suckless core, we are pretty terminal focused. > Also we did touch the topic before. I just hope, this won't get t

Re: [dev] Re: color-scheme

2011-07-26 Thread hiro
My doctor forbid me to click this, sorry. On Mon, Jul 25, 2011 at 20:24, Christian Neukirchen wrote: > hiro <23h...@googlemail.com> writes: > >> Good thing I don't know if this is a joke or meant seriously > > It's not. > > http://imgur.com/KPmDX.png > > -- > Christian Neukirchen    http://chneuk

Re: [dev] dwm 5.9 small patch for non xinerama users

2011-07-26 Thread mauro tonon
2011/7/25 Thomas Dahms : > Hi, > > 2011/7/22 mauro tonon : >> I noted that if i disable Xinerama, i don't use also the following >> functions: dirtomon, focusmon, tagmon. >> So, i think it is possible to hold all these functions between "#ifdef >> XINERAMA ... #endif". >> The difference in the fina

Re: [dev] dwm 5.9 small patch for non xinerama users

2011-07-26 Thread Jacob Todd
Grep is your friend. On Jul 26, 2011 9:10 AM, "mauro tonon" wrote: > 2011/7/25 Thomas Dahms : >> Hi, >> >> 2011/7/22 mauro tonon : >>> I noted that if i disable Xinerama, i don't use also the following >>> functions: dirtomon, focusmon, tagmon. >>> So, i think it is possible to hold all these func

Re: [dev] dwm 5.9 small patch for non xinerama users

2011-07-26 Thread mauro tonon
Sorry, i didn't mean the declaration but the pre-declaration or the prototype or how it is called... well, the equivalent of this: #ifdef XINERAMA static Bool isuniquegeom(XineramaScreenInfo *unique, size_t n, XineramaScreenInfo *info); #endif /*XINERAMA */ 2011/7/26 Jacob Todd : > Grep is you

Re: [dev] dwm 5.9 small patch for non xinerama users

2011-07-26 Thread Connor Lane Smith
Hey, On 26 July 2011 14:36, mauro tonon wrote: > Sorry, i didn't mean the declaration but the pre-declaration or the > prototype or how it is called... Yeah, it's missing. (grep says it's the only prototype missing, btw.) cls

Re: [dev] color-scheme

2011-07-26 Thread matus,
On Mon, Jul 25, 2011 at 07:13:53PM +0200, hiro wrote: > I was in a museum a few days ago and one couldn't read the > descriptions because of some artist's dumb low-contrast color choice. > There should be a law against this! You guys are the reason stupid > choleric persons invented genocides. I u

[dev] [dwm] code cleanup

2011-07-26 Thread anonymous
Style fixes, removed missing = NULL; line. XCreateFontSet do it for you at the beginning of function [1]. Added missing blank line, still 5 lines removed. dwm page [2] says "dwm is only a single binary, and its source code is intended to never exceed 2000 SLOC". wc -l says there are 20

Re: [dev] [dwm] code cleanup

2011-07-26 Thread anonymous
Forgot to attach. diff -r 701f651eaecc dwm.c --- a/dwm.c Sun Jul 24 10:41:43 2011 +0100 +++ b/dwm.c Tue Jul 26 21:58:41 2011 +0300 @@ -433,9 +433,9 @@ } if(ev->window == selmon->barwin) { i = x = 0; - do { + do

Re: [dev] [dwm] code cleanup

2011-07-26 Thread Lukas Fleischer
On Tue, Jul 26, 2011 at 11:16:30PM +0400, anonymous wrote: > Style fixes, removed > > missing = NULL; > > line. XCreateFontSet do it for you at the beginning of function [1]. > Added missing blank line, still 5 lines removed. > > dwm page [2] says "dwm is only a single binary, and its sou

Re: [dev] [dwm] code cleanup

2011-07-26 Thread Peter Hartlich
Hi, > void > grabkeys(void) { > + unsigned int i, j; > + unsigned int modifiers[] = { 0, LockMask, numlockmask, > numlockmask|LockMask }; > + KeyCode code; > + > updatenumlockmask(); > - { > - unsigned int i, j; > - unsigned int modifiers[] = { 0, L

Re: [dev] [dwm] code cleanup

2011-07-26 Thread anonymous
On Tue, Jul 26, 2011 at 11:54:14PM +0200, Peter Hartlich wrote: > Hi, > > > void > > grabkeys(void) { > > + unsigned int i, j; > > + unsigned int modifiers[] = { 0, LockMask, numlockmask, > > numlockmask|LockMask }; > > + KeyCode code; > > + > > updatenumlockmask(); > > - { > > -