# HG changeset patch # User Anselm R.Garbe # Date 1155022245 -7200 # Node ID 770233c1df06dc718a14d0a0a71d9f9e269fe2c5 # Parent 87a7dbc994e3579b1e5233f15947dab6e4d66e0b applied Sanders tiny patches diff -r 87a7dbc994e3 -r 770233c1df06 Makefile --- a/Makefile Mon Aug 07 17:38:14 2006 +0200 +++ b/Makefile Tue Aug 08 09:30:45 2006 +0200 @@ -19,7 +19,7 @@ @echo CC $< @${CC} -c ${CFLAGS} $< -${OBJ}: dwm.h config.h +${OBJ}: dwm.h config.h config.mk config.h: @echo creating $@ from config.default.h diff -r 87a7dbc994e3 -r 770233c1df06 config.arg.h --- a/config.arg.h Mon Aug 07 17:38:14 2006 +0200 +++ b/config.arg.h Tue Aug 08 09:30:45 2006 +0200 @@ -28,8 +28,8 @@ { MODKEY, XK_l, viewnext, { 0 } }, \ { MODKEY, XK_m, togglemax, { 0 } }, \ { MODKEY, XK_p, spawn, \ - { .cmd = "exec `ls -lL /usr/bin /usr/local/bin 2>/dev/null | \ - awk 'NF>2 && $1 ~ /^[^d].*x/ {print $NF}' | sort | uniq | dmenu`" } }, \ + { .cmd = "exec `ls -lL /usr/bin /usr/local/bin 2>/dev/null | " \ + "awk 'NF>2 && $1 ~ /^[^d].*x/ {print $NF}' | sort | uniq | dmenu`" } }, \ { MODKEY, XK_space, togglemode, { 0 } }, \ { MODKEY, XK_Return, zoom, { 0 } }, \ { MODKEY|ControlMask, XK_1, appendtag, { .i = 0 } }, \ @@ -41,8 +41,8 @@ { MODKEY|ShiftMask, XK_c, killclient, { 0 } }, \ { MODKEY|ShiftMask, XK_q, quit, { 0 } }, \ { MODKEY|ShiftMask, XK_Return, spawn, \ - { .cmd = "exec urxvt -bg '#ffffea' +sb \ - -fn '-*-terminus-medium-*-*-*-12-*-*-*-*-*-iso10646-*'" } }, \ + { .cmd = "exec urxvt -bg '#ffffea' +sb " \ + "-fn '-*-terminus-medium-*-*-*-12-*-*-*-*-*-iso10646-*'" } }, \ }; #define RULES \ diff -r 87a7dbc994e3 -r 770233c1df06 dwm.html --- a/dwm.html Mon Aug 07 17:38:14 2006 +0200 +++ b/dwm.html Tue Aug 08 09:30:45 2006 +0200 @@ -21,7 +21,7 @@

dwm is a dynamic window manager for X11.

-

Philosophy

+

Background

As founder and main developer of wmii I came to the conclusion that wmii is too clunky for my needs. I don't need so many funky features diff -r 87a7dbc994e3 -r 770233c1df06 main.c --- a/main.c Mon Aug 07 17:38:14 2006 +0200 +++ b/main.c Tue Aug 08 09:30:45 2006 +0200 @@ -240,6 +240,8 @@ dc.drawable = XCreatePixmap(dpy, root, sw, bh, DefaultDepth(dpy, screen)); dc.gc = XCreateGC(dpy, root, 0, 0); + + strcpy(stext, "dwm-"VERSION); drawstatus(); issel = XQueryPointer(dpy, root, &w, &w, &i, &i, &i, &i, &mask); @@ -248,7 +250,6 @@ wa.cursor = cursor[CurNormal]; XChangeWindowAttributes(dpy, root, CWEventMask | CWCursor, &wa); - strcpy(stext, "dwm-"VERSION); scan(); /* main event loop, also reads status text from stdin */