dwm-meillo

changeset 222:770233c1df06

applied Sanders tiny patches
author Anselm R.Garbe <arg@10ksloc.org>
date Tue, 08 Aug 2006 09:30:45 +0200
parents 87a7dbc994e3
children 5ccfd9edfae0
files Makefile config.arg.h dwm.html main.c
diffstat 4 files changed, 8 insertions(+), 7 deletions(-) [+]
line diff
     1.1 --- a/Makefile	Mon Aug 07 17:38:14 2006 +0200
     1.2 +++ b/Makefile	Tue Aug 08 09:30:45 2006 +0200
     1.3 @@ -19,7 +19,7 @@
     1.4  	@echo CC $<
     1.5  	@${CC} -c ${CFLAGS} $<
     1.6  
     1.7 -${OBJ}: dwm.h config.h
     1.8 +${OBJ}: dwm.h config.h config.mk
     1.9  
    1.10  config.h:
    1.11  	@echo creating $@ from config.default.h
     2.1 --- a/config.arg.h	Mon Aug 07 17:38:14 2006 +0200
     2.2 +++ b/config.arg.h	Tue Aug 08 09:30:45 2006 +0200
     2.3 @@ -28,8 +28,8 @@
     2.4  	{ MODKEY,		XK_l,		viewnext,	{ 0 } }, \
     2.5  	{ MODKEY,		XK_m,		togglemax,	{ 0 } }, \
     2.6  	{ MODKEY,		XK_p,		spawn, \
     2.7 -		{ .cmd = "exec `ls -lL /usr/bin /usr/local/bin 2>/dev/null | \
     2.8 -			awk 'NF>2 && $1 ~ /^[^d].*x/ {print $NF}' | sort | uniq | dmenu`" } }, \
     2.9 +		{ .cmd = "exec `ls -lL /usr/bin /usr/local/bin 2>/dev/null | " \
    2.10 +			"awk 'NF>2 && $1 ~ /^[^d].*x/ {print $NF}' | sort | uniq | dmenu`" } }, \
    2.11  	{ MODKEY,		XK_space,	togglemode,	{ 0 } }, \
    2.12  	{ MODKEY,		XK_Return,	zoom,		{ 0 } }, \
    2.13  	{ MODKEY|ControlMask,	XK_1,		appendtag,	{ .i = 0 } }, \
    2.14 @@ -41,8 +41,8 @@
    2.15  	{ MODKEY|ShiftMask,	XK_c,		killclient,	{ 0 } }, \
    2.16  	{ MODKEY|ShiftMask,	XK_q,		quit,		{ 0 } }, \
    2.17  	{ MODKEY|ShiftMask,	XK_Return,	spawn, \
    2.18 -		{ .cmd = "exec urxvt -bg '#ffffea' +sb \
    2.19 -			-fn '-*-terminus-medium-*-*-*-12-*-*-*-*-*-iso10646-*'" } }, \
    2.20 +		{ .cmd = "exec urxvt -bg '#ffffea' +sb " \
    2.21 +			"-fn '-*-terminus-medium-*-*-*-12-*-*-*-*-*-iso10646-*'" } }, \
    2.22  };
    2.23  
    2.24  #define RULES \
     3.1 --- a/dwm.html	Mon Aug 07 17:38:14 2006 +0200
     3.2 +++ b/dwm.html	Tue Aug 08 09:30:45 2006 +0200
     3.3 @@ -21,7 +21,7 @@
     3.4  		<p>
     3.5  		dwm is a dynamic window manager for X11.
     3.6  		</p>
     3.7 -		<h4>Philosophy</h4>
     3.8 +		<h4>Background</h4>
     3.9  		<p>
    3.10  		As founder and main developer of wmii I came to the conclusion that
    3.11  		wmii is too clunky for my needs. I don't need so many funky features
     4.1 --- a/main.c	Mon Aug 07 17:38:14 2006 +0200
     4.2 +++ b/main.c	Tue Aug 08 09:30:45 2006 +0200
     4.3 @@ -240,6 +240,8 @@
     4.4  
     4.5  	dc.drawable = XCreatePixmap(dpy, root, sw, bh, DefaultDepth(dpy, screen));
     4.6  	dc.gc = XCreateGC(dpy, root, 0, 0);
     4.7 +
     4.8 +	strcpy(stext, "dwm-"VERSION);
     4.9  	drawstatus();
    4.10  
    4.11  	issel = XQueryPointer(dpy, root, &w, &w, &i, &i, &i, &i, &mask);
    4.12 @@ -248,7 +250,6 @@
    4.13  	wa.cursor = cursor[CurNormal];
    4.14  	XChangeWindowAttributes(dpy, root, CWEventMask | CWCursor, &wa);
    4.15  
    4.16 -	strcpy(stext, "dwm-"VERSION);
    4.17  	scan();
    4.18  
    4.19  	/* main event loop, also reads status text from stdin */