Re: [dwm] [patch] dwm-meillo (2 tags to toggle)

2007-09-21 Thread markus schnalke
Jeremy O'Brien <[EMAIL PROTECTED]> wrote:
> 
> Your terminal colors are amazing...

thanks


> Would you mind sharing your .XResources or whatever file you are using
> to set your colorscheme? I would like to imitate it if you wouldn't
> mind :-D

I saw you found them.
For everyone else, here they are: http://prog.marmaro.de/dotfiles/

Feel free to use them!



Re: [dwm] [patch] dwm-meillo (2 tags to toggle)

2007-09-20 Thread Jeremy O'Brien
On Fri, Sep 21, 2007 at 12:12:46AM +0200, markus schnalke wrote:
> 
> Hoi folks,
> 
> after a long time (since 3.5) I updated "my" patches to the current tip.
> 
> As you perhaps remember/know, I habe only 2 tags between I toggle. I use them
> as workspaces. Clients are matched to only one tag.
> 
> So my Workflow is somehow different from normal dwm tagging style, but it is
> highly productiv!
> Okay, this only is true if you have not more than two or perhaps three
> clients in each of the tags. (I have two terms with screen on one tag
> and iceweasel on the other.)
> Also I only use maxlayout (monocle) ... and floating for some apps of
> cause.
> 
> 
> You find the patch on http://prog.marmaro.de/dwm-meillo/
> I attached it too
> 
>   * adds toggleview (only 2 workspaces to toggle)
>   * adds maxlayout (see monocle layout)
>   * performs only the first matching rule for clients
>   * modifies the status bar in some ways (no squares and more)
>   * removes lots of IMHO unnessasary keystrokes (and so the access to 
> features)
>   * includes my config.h
> 
> 
> markus

Your terminal colors are amazing... Would you mind sharing your
.XResources or whatever file you are using to set your colorscheme? I
would like to imitate it if you wouldn't mind :-D

-- 
 Jeremy O'Brien aka neutral_insomniac
 GPG key: 0xB1140FDB http://pohl.ececs.uc.edu/~jeremy/jeremy.asc
 Linux ambelina 2.6.23-rc3 ppc 7447A, altivec supported PowerBook5,8 GNU/Linux


pgp63GxDG0LZf.pgp
Description: PGP signature


Re: [dwm] [patch] dwm-meillo (2 tags to toggle)

2007-09-20 Thread Jeremy O'Brien
On Thu, Sep 20, 2007 at 07:58:15PM -0400, Jeremy O'Brien wrote:
> On Fri, Sep 21, 2007 at 12:12:46AM +0200, markus schnalke wrote:
> > 
> > Hoi folks,
> > 
> > after a long time (since 3.5) I updated "my" patches to the current tip.
> > 
> > As you perhaps remember/know, I habe only 2 tags between I toggle. I use 
> > them
> > as workspaces. Clients are matched to only one tag.
> > 
> > So my Workflow is somehow different from normal dwm tagging style, but it is
> > highly productiv!
> > Okay, this only is true if you have not more than two or perhaps three
> > clients in each of the tags. (I have two terms with screen on one tag
> > and iceweasel on the other.)
> > Also I only use maxlayout (monocle) ... and floating for some apps of
> > cause.
> > 
> > 
> > You find the patch on http://prog.marmaro.de/dwm-meillo/
> > I attached it too
> > 
> >   * adds toggleview (only 2 workspaces to toggle)
> >   * adds maxlayout (see monocle layout)
> >   * performs only the first matching rule for clients
> >   * modifies the status bar in some ways (no squares and more)
> >   * removes lots of IMHO unnessasary keystrokes (and so the access to 
> > features)
> >   * includes my config.h
> > 
> > 
> > markus
> 
> Your terminal colors are amazing... Would you mind sharing your
> .XResources or whatever file you are using to set your colorscheme? I
> would like to imitate it if you wouldn't mind :-D
> 

Well nevermind. I see they are already on your site :P Many thanks!

-- 
 Jeremy O'Brien aka neutral_insomniac
 GPG key: 0xB1140FDB http://pohl.ececs.uc.edu/~jeremy/jeremy.asc
 Linux ambelina 2.6.23-rc3 ppc 7447A, altivec supported PowerBook5,8 GNU/Linux


pgpBJiAY32PXu.pgp
Description: PGP signature


[dwm] [patch] dwm-meillo (2 tags to toggle)

2007-09-20 Thread markus schnalke

Hoi folks,

after a long time (since 3.5) I updated "my" patches to the current tip.

As you perhaps remember/know, I habe only 2 tags between I toggle. I use them
as workspaces. Clients are matched to only one tag.

So my Workflow is somehow different from normal dwm tagging style, but it is
highly productiv!
Okay, this only is true if you have not more than two or perhaps three
clients in each of the tags. (I have two terms with screen on one tag
and iceweasel on the other.)
Also I only use maxlayout (monocle) ... and floating for some apps of
cause.


You find the patch on http://prog.marmaro.de/dwm-meillo/
I attached it too

  * adds toggleview (only 2 workspaces to toggle)
  * adds maxlayout (see monocle layout)
  * performs only the first matching rule for clients
  * modifies the status bar in some ways (no squares and more)
  * removes lots of IMHO unnessasary keystrokes (and so the access to features)
  * includes my config.h


markus
# HG changeset patch
# User [EMAIL PROTECTED]
# Date 1190322751 -7200
# Node ID 303286112f0a3fafa0ec318a489895d8a60db753
# Parent  19d4ccea9745e8c04e5a4a9278efcb73a22cf248
Meillos mods: toggletags, maxlayout, match only first rule, no squares, personalized config.h
(rem: code of maxlayout is from the monocle-patch, via mailinglist)

diff -r 19d4ccea9745 -r 303286112f0a config.h
--- a/config.h	Wed Sep 19 17:32:28 2007 +0200
+++ b/config.h	Thu Sep 20 23:12:31 2007 +0200
@@ -3,32 +3,34 @@
 /* appearance */
 #define BARPOS			BarTop /* BarBot, BarOff */
 #define BORDERPX		1
-#define FONT			"-*-terminus-medium-r-*-*-12-*-*-*-*-*-iso10646-*"
+#define FONT			"-*-terminus-medium-r-*-*-12-*-*-*-*-*-*-*"
 #define NORMBORDERCOLOR		"#333"
-#define NORMBGCOLOR		"#000"
-#define NORMFGCOLOR		"#ccc"
-#define SELBORDERCOLOR		"#f00"
-#define SELBGCOLOR		"#00f"
-#define SELFGCOLOR		"#fff"
+#define NORMBGCOLOR		"#333"
+#define NORMFGCOLOR		"#bbb"
+#define SELBORDERCOLOR		"#eec900"
+#define SELBGCOLOR		"#eec900"
+#define SELFGCOLOR		"#000"
 
 /* tagging */
-const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9", NULL };
+const char *tags[] = { "Das Alles", "Das Nichts", NULL };
 Rule rules[] = {
 	/* class:instance:title regex	tags regex	isfloating */
-	{ "Firefox",			"3",		False },
-	{ "Gimp",			NULL,		True },
-	{ "MPlayer",			NULL,		True },
-	{ "Acroread",			NULL,		True },
+	{ "URxvt.*",	  	  	"Das Nichts",		False },
+	{ "MPlayer",		  	NULL,		True },
+	{ "qiv.*",		  	NULL,		True },
+	{ "Gimp.*",	  		"Das Alles",		True },
+	{ ".*",		  	"Das Alles",		False },
 };
 
 /* layout(s) */
 Layout layouts[] = {
 	/* symbol		function */
-	{ "[]=",		tile }, /* first entry is default */
-	{ "><>",		floating },
+	{ "  ",		maxlayout }, /* first entry is default */
+	{ "  ",		tile },
+	/*{ "><>",		floating },*/
 };
-#define RESIZEHINTS		True	/* False - respect size hints in tiled resizals */
-#define MWFACT			0.6	/* master width factor [0.1 .. 0.9] */
+#define RESIZEHINTS		False	/* False - respect size hints in tiled resizals */
+#define MWFACT			0.5	/* master width factor [0.1 .. 0.9] */
 #define SNAP			32	/* snap pixel */
 
 /* key definitions */
@@ -36,58 +38,22 @@ Layout layouts[] = {
 #define KEYS \
 Key keys[] = { \
 	/* modifier			key		function	argument */ \
-	{ MODKEY,			XK_p,		spawn, \
+	/*{ MODKEY,			XK_p,		spawn, \
 		"exe=`dmenu_path | dmenu -fn '"FONT"' -nb '"NORMBGCOLOR"' -nf '"NORMFGCOLOR"'" \
-		" -sb '"SELBGCOLOR"' -sf '"SELFGCOLOR"'` && exec $exe" }, \
-	{ MODKEY|ShiftMask,		XK_Return,	spawn, \
-		"exec xterm -bg '"NORMBGCOLOR"' -fg '"NORMFGCOLOR"' -cr '"NORMFGCOLOR"' +sb -fn '"FONT"'" }, \
+		" -sb '"SELBGCOLOR"' -sf '"SELFGCOLOR"'` && exec $exe" }, \*/ \
+	{ MODKEY,			XK_asciicircum,		spawn, \
+		"exe=\"$(lsx `echo $PATH | sed 's/:/ /g'` | sort -u " \
+			" | dmenu -font '"FONT"' -normbg '"NORMBGCOLOR"' -normfg '"NORMFGCOLOR"' " \
+			"-selbg '"SELBGCOLOR"' -selfg '"SELFGCOLOR"')\" && exec $exe" }, \
+	{ MODKEY|ShiftMask,		XK_Return,	spawn, "exec urxvt" }, \
 	{ MODKEY,			XK_space,	setlayout,	NULL }, \
-	{ MODKEY,			XK_b,		togglebar,	NULL }, \
-	{ MODKEY,			XK_j,		focusnext,	NULL }, \
-	{ MODKEY,			XK_k,		focusprev,	NULL }, \
-	{ MODKEY,			XK_h,		setmwfact,	"-0.05" }, \
-	{ MODKEY,			XK_l,		setmwfact,	"+0.05" }, \
-	{ MODKEY,			XK_m,		togglemax,	NULL }, \
-	{ MODKEY,			XK_Return,	zoom,		NULL }, \
+	{ MODKEY,			XK_Tab,		focusnext,	NULL }, \
+	{ MODKEY,			XK_1,		zoom,	NULL }, \
 	{ MODKEY|ShiftMask,		XK_space,	togglefloating,	NULL }, \
-	{ MODKEY|ShiftMask,		XK_c,		killclient,	NULL }, \
-	{ MODKEY,			XK_0,		view,		NULL }, \
-	{ MODKEY,			XK_1,		view,		tags[0] }, \
-	{ MODKEY,			XK_2,		view,		tags[1] }, \
-	{ MODKEY,			XK_3,		view,		tags[2] }, \
-	{ MODKEY,			XK_4,		view,		tags[3] }, \
-	{ MODKEY,			XK_5,		view,		tags[4] }, \
-	{ MODKEY,			XK_6,		view,		tags[5] }, \
-	{ MODKEY,			XK_7,		view,		tags[6] }, \
-	{ MODKEY,			XK_8,		view,		tags[7] }, \
-	{ MODKEY,			XK_9,		view,		tags[8] }, \
-	{ MODKEY|ControlMask,		XK_1,		toggleview,	tags[0] }, \
-