1. Jan Christoph Ebersbach
  2. dwm-patches

Commits

Jan Christoph Ebersbach  committed e9f0693

changed gimp to be non-floating by default; add Super-Space key to fast toggle tag 1

  • Participants
  • Parent commits eddb209
  • Branches default

Comments (0)

Files changed (1)

File personal_configh.patch

View file
-diff -r 10e232f9ace7 config.def.h
---- a/config.def.h	Sun Mar 25 17:49:35 2012 +0200
-+++ b/config.def.h	Wed Apr 04 12:56:31 2012 +0200
+diff -r c794a9f5ae5e config.def.h
+--- a/config.def.h	Sun Jul 08 09:45:53 2012 +0200
++++ b/config.def.h	Tue Apr 02 12:22:03 2013 +0200
 @@ -1,11 +1,11 @@
  /* See LICENSE file for copyright and license details. */
  
  static const char selbgcolor[]      = "#005577";
  static const char selfgcolor[]      = "#eeeeee";
  static const unsigned int borderpx  = 1;        /* border pixel of windows */
-@@ -24,10 +24,13 @@
+@@ -22,12 +22,14 @@
+ 	 *	WM_NAME(STRING) = title
+ 	 */
  	/* class      instance    title       tags mask     isfloating   monitor */
- 	{ "Gimp",     NULL,       NULL,       0,            True,        -1 },
+-	{ "Gimp",     NULL,       NULL,       0,            True,        -1 },
  	{ "Firefox",  NULL,       NULL,       1 << 8,       False,       -1 },
 +	{ "Pidgin",   NULL,       NULL,       0,            True,        -1 },
 +	{ "Skype",    NULL,       NULL,       0,            True,        -1 },
  static const int nmaster      = 1;    /* number of clients in master area */
  static const Bool resizehints = True; /* True means respect size hints in tiled resizals */
  
-@@ -39,7 +42,7 @@
+@@ -39,7 +41,7 @@
  };
  
  /* key definitions */
  #define TAGKEYS(KEY,TAG) \
  	{ MODKEY,                       KEY,      view,           {.ui = 1 << TAG} }, \
  	{ MODKEY|ControlMask,           KEY,      toggleview,     {.ui = 1 << TAG} }, \
-@@ -51,7 +54,7 @@
+@@ -51,7 +53,7 @@
  
  /* commands */
  static const char *dmenucmd[] = { "dmenu_run", "-fn", font, "-nb", normbgcolor, "-nf", normfgcolor, "-sb", selbgcolor, "-sf", selfgcolor, NULL };
  
  static Key keys[] = {
  	/* modifier                     key        function        argument */
+@@ -70,7 +72,8 @@
+ 	{ MODKEY,                       XK_t,      setlayout,      {.v = &layouts[0]} },
+ 	{ MODKEY,                       XK_f,      setlayout,      {.v = &layouts[1]} },
+ 	{ MODKEY,                       XK_m,      setlayout,      {.v = &layouts[2]} },
+-	{ MODKEY,                       XK_space,  setlayout,      {0} },
++	{ MODKEY,                       XK_space,  toggleview,     {.ui = 1} },
++	{ MODKEY|ControlMask,           XK_space,  setlayout,      {0} },
+ 	{ MODKEY|ShiftMask,             XK_space,  togglefloating, {0} },
+ 	{ MODKEY,                       XK_0,      view,           {.ui = ~0 } },
+ 	{ MODKEY|ShiftMask,             XK_0,      tag,            {.ui = ~0 } },