config.def.h
changeset 1398 597063a22a73
parent 1396 440dda47ae5b
child 1401 8cee6e329111
equal deleted inserted replaced
1397:4498d81938b0 1398:597063a22a73
    11 static unsigned int borderpx        = 1;        /* border pixel of windows */
    11 static unsigned int borderpx        = 1;        /* border pixel of windows */
    12 static unsigned int snap            = 32;       /* snap pixel */
    12 static unsigned int snap            = 32;       /* snap pixel */
    13 static Bool showbar                 = True;     /* False means no bar */
    13 static Bool showbar                 = True;     /* False means no bar */
    14 static Bool topbar                  = True;     /* False means bottom bar */
    14 static Bool topbar                  = True;     /* False means bottom bar */
    15 
    15 
       
    16 
    16 /* tagging */
    17 /* tagging */
    17 static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
    18 static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
    18 static unsigned int tagset[] = {1, 1}; /* after start, first tag is selected */
    19 static unsigned int tagset[] = {1, 1}; /* after start, first tag is selected */
    19 
    20 
    20 static Rule rules[] = {
    21 static Rule rules[] = {
    21 	/* class      instance    title       tags mask     isfloating */
    22 	/* class      instance    title       tags mask     isfloating */
    22 	{ "Gimp",     NULL,       NULL,       0,            True },
    23 	{ "Gimp",     NULL,       NULL,       0,            True },
    23 	{ "Firefox",  NULL,       NULL,       1 << 8,       True },
    24 	{ "Firefox",  NULL,       NULL,       1 << 8,       False },
       
    25 
    24 };
    26 };
    25 
    27 
    26 /* layout(s) */
    28 /* layout(s) */
    27 static float mfact      = 0.55; /* factor of master area size [0.05..0.95] */
    29 static float mfact      = 0.55; /* factor of master area size [0.05..0.95] */
    28 static Bool resizehints = True; /* False means respect size hints in tiled resizals */
    30 static Bool resizehints = True; /* False means respect size hints in tiled resizals */
    66 	{ MODKEY,                       XK_m,      setlayout,      {.v = &layouts[2]} },
    68 	{ MODKEY,                       XK_m,      setlayout,      {.v = &layouts[2]} },
    67 	{ MODKEY,                       XK_space,  setlayout,      {0} },
    69 	{ MODKEY,                       XK_space,  setlayout,      {0} },
    68 	{ MODKEY|ShiftMask,             XK_space,  togglefloating, {0} },
    70 	{ MODKEY|ShiftMask,             XK_space,  togglefloating, {0} },
    69 	{ MODKEY,                       XK_0,      view,           {.ui = ~0 } },
    71 	{ MODKEY,                       XK_0,      view,           {.ui = ~0 } },
    70 	{ MODKEY|ShiftMask,             XK_0,      tag,            {.ui = ~0 } },
    72 	{ MODKEY|ShiftMask,             XK_0,      tag,            {.ui = ~0 } },
       
    73 #ifdef XINERAMA
       
    74 	{ MODKEY,                       XK_w,      focusmon,       {.ui = 0 } },
       
    75 	{ MODKEY,                       XK_e,      focusmon,       {.ui = 1 } },
       
    76 	{ MODKEY|ShiftMask,             XK_w,      tagmon,         {.ui = 0 } },
       
    77 	{ MODKEY|ShiftMask,             XK_e,      tagmon,         {.ui = 1 } },
       
    78 #endif /* XINERAMA */
    71 	TAGKEYS(                        XK_1,                      0)
    79 	TAGKEYS(                        XK_1,                      0)
    72 	TAGKEYS(                        XK_2,                      1)
    80 	TAGKEYS(                        XK_2,                      1)
    73 	TAGKEYS(                        XK_3,                      2)
    81 	TAGKEYS(                        XK_3,                      2)
    74 	TAGKEYS(                        XK_4,                      3)
    82 	TAGKEYS(                        XK_4,                      3)
    75 	TAGKEYS(                        XK_5,                      4)
    83 	TAGKEYS(                        XK_5,                      4)