| 1 |
/* See LICENSE file for copyright and license details. */ |
| 2 |
|
| 3 |
/* appearance */ |
| 4 |
static const unsigned int borderpx = 0; /* border pixel of windows */ |
| 5 |
static const unsigned int snap = 32; /* snap pixel */ |
| 6 |
static const int showbar = 0; /* 0 means no bar */ |
| 7 |
static const int topbar = 0; /* 0 means bottom bar */ |
| 8 |
static const char *fonts[] = { "fixed" }; |
| 9 |
static const char dmenufont[] = "fixed"; |
| 10 |
static const char col_gray1[] = "#cccccc"; |
| 11 |
static const char col_gray2[] = "#cccccc"; |
| 12 |
static const char col_gray3[] = "#000000"; |
| 13 |
static const char col_gray4[] = "#000000"; |
| 14 |
static const char col_cyan[] = "#0066ff"; |
| 15 |
static const char *colors[][3] = { |
| 16 |
/* fg bg border */ |
| 17 |
[SchemeNorm] = { col_gray3, col_gray1, col_gray2 }, |
| 18 |
[SchemeSel] = { col_gray4, col_cyan, col_cyan }, |
| 19 |
}; |
| 20 |
|
| 21 |
/* tagging */ |
| 22 |
static const char *tags[] = { "web" }; |
| 23 |
|
| 24 |
static const Rule rules[] = { |
| 25 |
/* xprop(1): |
| 26 |
* WM_CLASS(STRING) = instance, class |
| 27 |
* WM_NAME(STRING) = title |
| 28 |
*/ |
| 29 |
/* class instance title tags mask isfloating monitor */ |
| 30 |
{ NULL, NULL, NULL, 0, 0, -1 }, |
| 31 |
}; |
| 32 |
|
| 33 |
/* layout(s) */ |
| 34 |
static const float mfact = 0.55; /* factor of master area size [0.05..0.95] */ |
| 35 |
static const int nmaster = 1; /* number of clients in master area */ |
| 36 |
static const int resizehints = 0; /* 1 means respect size hints in tiled resizals */ |
| 37 |
static const int lockfullscreen = 1; /* 1 will force focus on the fullscreen window */ |
| 38 |
static const int refreshrate = 120; /* refresh rate (per second) for client move/resize */ |
| 39 |
|
| 40 |
static const Layout layouts[] = { |
| 41 |
/* symbol arrange function */ |
| 42 |
{ "[M]", monocle }, |
| 43 |
}; |
| 44 |
|
| 45 |
/* key definitions */ |
| 46 |
#define MODKEY Mod1Mask |
| 47 |
|
| 48 |
/* commands */ |
| 49 |
static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */ |
| 50 |
static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL }; |
| 51 |
|
| 52 |
static const Key keys[] = { |
| 53 |
/* modifier key function argument */ |
| 54 |
{ MODKEY|ShiftMask, XK_c, killclient, {0} }, |
| 55 |
{ MODKEY, XK_q, killclient, {0} }, |
| 56 |
{ MODKEY, XK_F4, killclient, {0} }, |
| 57 |
}; |
| 58 |
|
| 59 |
/* button definitions */ |
| 60 |
/* click can be ClkTagBar, ClkLtSymbol, ClkStatusText, ClkWinTitle, ClkClientWin, or ClkRootWin */ |
| 61 |
static const Button buttons[] = { |
| 62 |
{ 0 } |
| 63 |
}; |
| 64 |
|