dwm-meillo

diff dev.c @ 59:5d4653de9a1c

implemented dwm reading status text from stdin
author Anselm R. Garbe <garbeam@wmii.de>
date Fri, 14 Jul 2006 11:57:33 +0200
parents 529901e6a227
children
line diff
     1.1 --- a/dev.c	Fri Jul 14 10:34:07 2006 +0200
     1.2 +++ b/dev.c	Fri Jul 14 11:57:33 2006 +0200
     1.3 @@ -27,16 +27,14 @@
     1.4  	{ Mod1Mask,				XK_m,		max,		{ 0 } }, 
     1.5  	{ Mod1Mask,				XK_0,		view,		{ .i = Tscratch } }, 
     1.6  	{ Mod1Mask,				XK_1,		view,		{ .i = Tdev } }, 
     1.7 -	{ Mod1Mask,				XK_2,		view,		{ .i = Tirc } }, 
     1.8 -	{ Mod1Mask,				XK_3,		view,		{ .i = Twww } }, 
     1.9 -	{ Mod1Mask,				XK_4,		view,		{ .i = Twork } }, 
    1.10 +	{ Mod1Mask,				XK_2,		view,		{ .i = Twww } }, 
    1.11 +	{ Mod1Mask,				XK_3,		view,		{ .i = Twork } }, 
    1.12  	{ Mod1Mask,				XK_space,	tiling,		{ 0 } }, 
    1.13  	{ Mod1Mask|ShiftMask,	XK_space,	floating,	{ 0 } }, 
    1.14  	{ Mod1Mask|ShiftMask,	XK_0,		ttrunc,		{ .i = Tscratch } }, 
    1.15  	{ Mod1Mask|ShiftMask,	XK_1,		ttrunc,		{ .i = Tdev } }, 
    1.16 -	{ Mod1Mask|ShiftMask,	XK_2,		ttrunc,		{ .i = Tirc } }, 
    1.17 -	{ Mod1Mask|ShiftMask,	XK_3,		ttrunc,		{ .i = Twww } }, 
    1.18 -	{ Mod1Mask|ShiftMask,	XK_4,		ttrunc,		{ .i = Twork } }, 
    1.19 +	{ Mod1Mask|ShiftMask,	XK_2,		ttrunc,		{ .i = Twww } }, 
    1.20 +	{ Mod1Mask|ShiftMask,	XK_3,		ttrunc,		{ .i = Twork } }, 
    1.21  	{ Mod1Mask|ShiftMask,	XK_c,		ckill,		{ 0 } }, 
    1.22  	{ Mod1Mask|ShiftMask,	XK_q,		quit,		{ 0 } },
    1.23  	{ Mod1Mask|ShiftMask,	XK_Return,	spawn,		{ .argv = term } },
    1.24 @@ -44,9 +42,8 @@
    1.25  	{ Mod1Mask|ShiftMask,	XK_l,		spawn,		{ .argv = xlock } },
    1.26  	{ ControlMask,			XK_0,		tappend,	{ .i = Tscratch } }, 
    1.27  	{ ControlMask,			XK_1,		tappend,	{ .i = Tdev } }, 
    1.28 -	{ ControlMask,			XK_2,		tappend,	{ .i = Tirc } }, 
    1.29 -	{ ControlMask,			XK_3,		tappend,	{ .i = Twww } }, 
    1.30 -	{ ControlMask,			XK_4,		tappend,	{ .i = Twork } }, 
    1.31 +	{ ControlMask,			XK_2,		tappend,	{ .i = Twww } }, 
    1.32 +	{ ControlMask,			XK_3,		tappend,	{ .i = Twork } }, 
    1.33  };
    1.34  
    1.35  /********** CUSTOMIZE **********/