Author: viric
Date: Mon Mar 5 10:51:30 2012
New Revision: 32797
URL: https://nixos.org/websvn/nix/?rev=32797&sc=1
Log:
Updating my patch for my dwm.
Modified:
configurations/trunk/misc/viric/dwm/viric.patch
Modified: configurations/trunk/misc/viric/dwm/viric.patch
==============================================================================
--- configurations/trunk/misc/viric/dwm/viric.patch Mon Mar 5 10:27:47
2012 (r32796)
+++ configurations/trunk/misc/viric/dwm/viric.patch Mon Mar 5 10:51:30
2012 (r32797)
@@ -1,5 +1,5 @@
diff --git a/config.def.h b/config.def.h
-index 77ff358..d4cabdc 100644
+index 77ff358..a1045e3 100644
--- a/config.def.h
+++ b/config.def.h
@@ -2,13 +2,13 @@
@@ -23,10 +23,11 @@
static const unsigned int snap = 32; /* snap pixel */
static const Bool showbar = True; /* False means no bar */
static const Bool topbar = True; /* False means bottom bar */
-@@ -20,6 +20,15 @@ static const Rule rules[] = {
+@@ -19,7 +19,15 @@ static const char *tags[] = { "1", "2", "3", "4", "5", "6",
"7", "8", "9" };
+ static const Rule rules[] = {
/* class instance title tags mask isfloating
monitor */
{ "Gimp", NULL, NULL, 0, True, -1 },
- { "Firefox", NULL, NULL, 1 << 8, False, -1 },
+- { "Firefox", NULL, NULL, 1 << 8, False, -1 },
+ { "Firefox", NULL, NULL, 0, True, -1 },
+ { "MPlayer", NULL, NULL, 0, True, -1 },
+ { "Acroread", NULL, NULL, 0, True, -1 },
@@ -39,7 +40,7 @@
};
/* layout(s) */
-@@ -35,7 +44,7 @@ static const Layout layouts[] = {
+@@ -35,7 +43,7 @@ static const Layout layouts[] = {
};
/* key definitions */
@@ -48,7 +49,7 @@
#define TAGKEYS(KEY,TAG) \
{ MODKEY, KEY, view, {.ui = 1 <<
TAG} }, \
{ MODKEY|ControlMask, KEY, toggleview, {.ui = 1 <<
TAG} }, \
-@@ -47,7 +56,7 @@ static const Layout layouts[] = {
+@@ -47,7 +55,7 @@ static const Layout layouts[] = {
/* commands */
static const char *dmenucmd[] = { "dmenu_run", "-fn", font, "-nb",
normbgcolor, "-nf", normfgcolor, "-sb", selbgcolor, "-sf", selfgcolor, NULL };
@@ -57,3 +58,12 @@
static Key keys[] = {
/* modifier key function argument */
+@@ -56,8 +64,6 @@ static Key keys[] = {
+ { MODKEY, XK_b, togglebar, {0} },
+ { MODKEY, XK_j, focusstack, {.i = +1 } },
+ { MODKEY, XK_k, focusstack, {.i = -1 } },
+- { MODKEY, XK_i, incnmaster, {.i = +1 } },
+- { MODKEY, XK_d, incnmaster, {.i = -1 } },
+ { MODKEY, XK_h, setmfact, {.f = -0.05}
},
+ { MODKEY, XK_l, setmfact, {.f = +0.05}
},
+ { MODKEY, XK_Return, zoom, {0} },
_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits