add games patch
This commit is contained in:
@@ -1,13 +1,15 @@
|
||||
--- config.def.h
|
||||
+++ config.def.h
|
||||
@@ -67,6 +67,10 @@ static const Key keys[] = {
|
||||
{ MODKEY, XK_b, togglebar, {0} },
|
||||
{ MODKEY, XK_j, focusstack, {.i = +1 } },
|
||||
{ MODKEY, XK_k, focusstack, {.i = -1 } },
|
||||
+ { MODKEY|ControlMask, XK_Left, placedir, {.i = 0 } }, // left
|
||||
+ { MODKEY|ControlMask, XK_Right, placedir, {.i = 1 } }, // right
|
||||
+ { MODKEY|ControlMask, XK_Up, placedir, {.i = 2 } }, // up
|
||||
+ { MODKEY|ControlMask, XK_Down, placedir, {.i = 3 } }, // down
|
||||
{ MODKEY, XK_i, incnmaster, {.i = +1 } },
|
||||
{ MODKEY, XK_d, incnmaster, {.i = -1 } },
|
||||
{ MODKEY, XK_h, setmfact, {.f = -0.05} },
|
||||
@@ -26,9 +26,11 @@ static const Rule rules[] = {
|
||||
* WM_CLASS(STRING) = instance, class
|
||||
* WM_NAME(STRING) = title
|
||||
*/
|
||||
- /* class instance title tags mask isfloating monitor */
|
||||
+ /* class instance title tags mask isfloating monitor isgame */
|
||||
{ "Gimp", NULL, NULL, 0, 1, -1 },
|
||||
{ "Firefox", NULL, NULL, 1 << 8, 0, -1 },
|
||||
+ { "Steam", NULL, NULL, 0, 0, -1, 1 },
|
||||
+ { "steam_app",NULL, NULL, 0, 0, -1, 1 },
|
||||
};
|
||||
|
||||
/* layout(s) */
|
||||
|
||||
Reference in New Issue
Block a user