about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* next version is 0.8arg@10ksloc.org2006-08-071-1/+1
|
* made my colors tasting better with the backgroundarg@10ksloc.org2006-08-071-3/+3
|
* status box should have a border in my eyesarg@10ksloc.org2006-08-072-2/+2
|
* next attempt for w on black switcharg@10ksloc.org2006-08-071-4/+4
|
* Added tag 0.7 for changeset 3fb41412e2492f66476d92ce8f007a8b48fb1d2aarg@10ksloc.org2006-08-071-0/+1
|
* prepared dwm.html 0.7arg@10ksloc.org2006-08-071-3/+6
|
* added stripping to dwm target in Makefilearg@10ksloc.org2006-08-071-0/+1
|
* changed getproto, maybe that might fix the killclient issue reported on the listarg@10ksloc.org2006-08-071-2/+3
|
* applied endless loop prevention on zoom()arg@10ksloc.org2006-08-071-1/+3
|
* updated man pagearg@10ksloc.org2006-08-071-0/+2
|
* small fix of the last commitarg@10ksloc.org2006-08-051-1/+1
|
* using -Os again, zoom is ignored in floating mode or on floating clientsarg@10ksloc.org2006-08-052-2/+2
|
* mouse grab needs also to grab for combinations of numlock/lockmaskarg@10ksloc.org2006-08-051-0/+20
|
* slight fixarg@10ksloc.org2006-08-051-3/+2
|
* small performance tweak ;)arg@10ksloc.org2006-08-041-2/+4
|
* fixed xterm font change (all other related apps should work fine with this ↵arg@10ksloc.org2006-08-041-14/+12
| | | | fix as well)
* fixed view-change bug reported on the listarg@10ksloc.org2006-08-041-14/+10
|
* no need for -g anymore, regexp matching works nowarg@10ksloc.org2006-08-041-4/+4
|
* fixed dmenu link (thx to deifl)arg@10ksloc.org2006-08-041-1/+1
|
* switched to regexp matching for Rulesarg@10ksloc.org2006-08-046-31/+65
|
* fixed a bug in dmenu callarg@10ksloc.org2006-08-042-6/+3
|
* using execl now, argv changed, using cmd and const char defs directly in the ↵arg@10ksloc.org2006-08-044-18/+18
| | | | KEYS struct
* added dmenu to dwm.htmlarg@10ksloc.org2006-08-041-0/+4
|
* small stylistic fixarg@10ksloc.org2006-08-041-1/+2
|
* removed CONFIGarg@10ksloc.org2006-08-031-3/+2
|
* make config.h not a time dependencearg@10ksloc.org2006-08-031-1/+1
|
* removed rm config.h from cleanarg@10ksloc.org2006-08-031-1/+1
|
* added gmake compliancearg@10ksloc.org2006-08-031-2/+2
|
* s/tag2/two/garg@10ksloc.org2006-08-032-4/+4
|
* applied Jukka's diffarg@10ksloc.org2006-08-031-4/+5
|
* applied Sanders Makefile patcharg@10ksloc.org2006-08-031-26/+20
|
* stylistic chnagearg@10ksloc.org2006-08-032-4/+4
|
* removed TLast tag enum, now tags is simple defined as char *[] array, the ↵arg@10ksloc.org2006-08-038-71/+66
| | | | rest is calculated correctly, rules take an int array for the tags
* hotfix of settagsarg@10ksloc.org2006-08-031-2/+1
|
* using SRC instead of *.carg@10ksloc.org2006-08-031-1/+1
|
* changed the files included in make distarg@10ksloc.org2006-08-031-1/+2
|
* applied Sanders doc changes, added a PHONY line and changed the output of ↵arg@10ksloc.org2006-08-033-17/+22
| | | | config.h creation somewhat
* changed Client->tags and Rule->tags to be Bool (I'll also try to remove the ↵arg@10ksloc.org2006-08-036-17/+18
| | | | TLast enum)
* implemented the idea presented by Sander for dwm targetarg@10ksloc.org2006-08-022-3/+5
|
* changing MASTERW value from 52 to 60 (in both, default and arg), I feel this ↵arg@10ksloc.org2006-08-023-3/+3
| | | | is better now
* fixed a type in README, and patched config.mkarg@10ksloc.org2006-08-022-2/+2
|
* updated dwm.htmlarg@10ksloc.org2006-08-021-3/+3
|
* Added tag 0.6 for changeset c11f86db4550cac5d0a648a3fe4d6d3b9a4fcf7earg@10ksloc.org2006-08-021-0/+1
|
* removed config.h (stupid hg) 0.6arg@10ksloc.org2006-08-021-62/+0
|
* removed the CONFIG variable from config.mk, renamed config.h into ↵arg@10ksloc.org2006-08-024-11/+66
| | | | config.default.h, after first clone/extract one needs to copy config.default.h to config.h, that is easier than always heavy typing make CONFIG=blafasel
* added Acroread.* and MPlayer.* to config.arg.h rulesarg@10ksloc.org2006-08-021-0/+2
|
* made fullscreen apps working fine in floating mode (there is no sane way to ↵arg@10ksloc.org2006-08-029-79/+92
| | | | make them work in tiled mode, thus I switch to floating mode if I run such kind of app), also fixed the xterm issue reported by Sander
* new stuffarg@10ksloc.org2006-08-022-20/+23
|
* dwm is now exit, if stdin is closed due broken pipearg@10ksloc.org2006-08
/*
 * (C)opyright MMVI Anselm R. Garbe <garbeam at gmail dot com>
 * See LICENSE file for license details.
 */

#define TAGS \
const char *tags[] = { "dev", "work", "net", "fnord", NULL };

#define DEFMODE			dotile /* dofloat */
#define FLOATSYMBOL		"><>"
#define TILESYMBOL		"[]="

#define FONT			"-*-terminus-medium-*-*-*-12-*-*-*-*-*-iso10646-*"
#define SELBGCOLOR		"#333366"
#define SELFGCOLOR		"#eeeeee"
#define NORMBGCOLOR		"#333333"
#define NORMFGCOLOR		"#dddddd"
#define STATUSBGCOLOR		"#222222"
#define STATUSFGCOLOR		"#9999cc"

#define MODKEY			Mod1Mask
#define MASTERW			60 /* percent */

#define KEYS \
static Key key[] = { \
	/* modifier			key		function	arguments */ \
	{ MODKEY|ShiftMask,		XK_Return,	spawn, \
		{ .cmd = "exec uxterm -bg '#111111' -fg '#eeeeee' -cr '#eeeeee' +sb -fn '"FONT"'" } }, \
	{ MODKEY,			XK_p,		spawn, \
		{ .cmd = "exe=\"$(IFS=:; for dir in $PATH; do " \
			 "for file in \"$dir\"/*; do [ -x \"$file\" ] && echo \"${file##*/}\"; done; " \
			 "done | sort -u | dmenu)\" && exec \"$exe\"" } }, \
	{ MODKEY,			XK_j,		focusnext,	{ 0 } }, \
	{ MODKEY,			XK_k,		focusprev,	{ 0 } }, \
	{ MODKEY,			XK_Return,	zoom,		{ 0 } }, \
	{ MODKEY,			XK_m,		togglemax,	{ 0 } }, \
	{ MODKEY|ShiftMask,		XK_1,		tag,		{ .i = 0 } }, \
	{ MODKEY|ShiftMask,		XK_2,		tag,		{ .i = 1 } }, \
	{ MODKEY|ShiftMask,		XK_3,		tag,		{ .i = 2 } }, \
	{ MODKEY|ShiftMask,		XK_4,		tag,		{ .i = 3 } }, \
	{ MODKEY|ControlMask|ShiftMask,	XK_1,		toggletag,	{ .i = 0 } }, \
	{ MODKEY|ControlMask|ShiftMask,	XK_2,		toggletag,	{ .i = 1 } }, \
	{ MODKEY|ControlMask|ShiftMask,	XK_3,		toggletag,	{ .i = 2 } }, \
	{ MODKEY|ControlMask|ShiftMask,	XK_4,		toggletag,	{ .i = 3 } }, \
	{ MODKEY|ShiftMask,		XK_c,		killclient,	{ 0 } }, \
	{ MODKEY,			XK_space,	togglemode,	{ 0 } }, \
	{ MODKEY,			XK_1,		view,		{ .i = 0 } }, \
	{ MODKEY,			XK_2,		view,		{ .i = 1 } }, \
	{ MODKEY,			XK_3,		view,		{ .i = 2 } }, \
	{ MODKEY,			XK_4,		view,		{ .i = 3 } }, \
	{ MODKEY,			XK_a,		viewall,	{ 0 } }, \
	{ MODKEY|ControlMask,		XK_1,		toggleview,	{ .i = 0 } }, \
	{ MODKEY|ControlMask,		XK_2,		toggleview,	{ .i = 1 } }, \
	{ MODKEY|ControlMask,		XK_3,		toggleview,	{ .i = 2 } }, \
	{ MODKEY|ControlMask,		XK_4,		toggleview,	{ .i = 3 } }, \
	{ MODKEY|ShiftMask,		XK_q,		quit,		{ 0 } }, \
};

#define RULES \
static Rule rule[] = { \
	/* class:instance:title regex	tags regex	isfloat */ \
	{ "Firefox.*",			"net",		False }, \
	{ "Gimp.*",			NULL,		True}, \
	{ "MPlayer.*",			NULL,		True}, \
	{ "Acroread.*",			NULL,		True}, \
};