summaryrefslogtreecommitdiffstats
path: root/config.def.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--config.def.h61
1 files changed, 55 insertions, 6 deletions
diff --git a/config.def.h b/config.def.h
index 8537d6f..c87553f 100644
--- a/config.def.h
+++ b/config.def.h
@@ -1,7 +1,6 @@
1/* See LICENSE file for copyright and license details. */ 1/* See LICENSE file for copyright and license details. */
2 2
3/* appearance */ 3/* appearance */
4#define BARPOS BarTop /* BarBot, BarOff */
5#define BORDERPX 1 4#define BORDERPX 1
6#define FONT "-*-terminus-medium-r-normal-*-14-*-*-*-*-*-*-*" 5#define FONT "-*-terminus-medium-r-normal-*-14-*-*-*-*-*-*-*"
7#define NORMBORDERCOLOR "#cccccc" 6#define NORMBORDERCOLOR "#cccccc"
@@ -11,6 +10,58 @@
11#define SELBGCOLOR "#0066ff" 10#define SELBGCOLOR "#0066ff"
12#define SELFGCOLOR "#ffffff" 11#define SELFGCOLOR "#ffffff"
13 12
13#if WORK
14
15/* bar position */
16#define BX 0
17#define BY 0
18#define BW 1280
19
20/* master area */
21#define MX 0
22#define MY bh
23#define MW 1280
24#define MH 800 - bh
25
26/* tile area, might be on a different screen */
27#define TX 1280
28#define TY 0
29#define TW 1680
30#define TH 1050
31
32/* monocle area, might be restricted to a specific screen */
33#define MOX MX
34#define MOY MY
35#define MOW MW
36#define MOH MH
37
38#else
39
40/* bar position */
41#define BX sx
42#define BY sy
43#define BW sw
44
45/* master area */
46#define MX sx
47#define MY sy + bh
48#define MW ((int)(((float)sw) * 0.6))
49#define MH sh - bh
50
51/* tile area, might be on a different screen */
52#define TX sx + MW
53#define TY MY
54#define TW sw - MW
55#define TH MH
56
57/* monocle area, might be restricted to a specific screen */
58#define MOX sx
59#define MOY MY
60#define MOW sw
61#define MOH MH
62
63#endif
64
14/* tagging */ 65/* tagging */
15const char tags[][MAXTAGLEN] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" }; 66const char tags[][MAXTAGLEN] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
16 67
@@ -23,7 +74,6 @@ Rule rules[] = {
23}; 74};
24 75
25/* layout(s) */ 76/* layout(s) */
26#define MWFACT 0.6 /* master width factor [0.1 .. 0.9] */
27#define RESIZEHINTS True /* False - respect size hints in tiled resizals */ 77#define RESIZEHINTS True /* False - respect size hints in tiled resizals */
28#define SNAP 32 /* snap pixel */ 78#define SNAP 32 /* snap pixel */
29 79
@@ -41,15 +91,14 @@ Key keys[] = {
41 { MODKEY, XK_p, spawn, 91 { MODKEY, XK_p, spawn,
42 "exec dmenu_run -fn '"FONT"' -nb '"NORMBGCOLOR"' -nf '"NORMFGCOLOR"' -sb '"SELBGCOLOR"' -sf '"SELFGCOLOR"'" }, 92 "exec dmenu_run -fn '"FONT"' -nb '"NORMBGCOLOR"' -nf '"NORMFGCOLOR"' -sb '"SELBGCOLOR"' -sf '"SELFGCOLOR"'" },
43 { MODKEY|ShiftMask, XK_Return, spawn, "exec uxterm" }, 93 { MODKEY|ShiftMask, XK_Return, spawn, "exec uxterm" },
44 { MODKEY, XK_b, togglebar, NULL },
45 { MODKEY, XK_j, focusnext, NULL }, 94 { MODKEY, XK_j, focusnext, NULL },
46 { MODKEY, XK_k, focusprev, NULL }, 95 { MODKEY, XK_k, focusprev, NULL },
47 { MODKEY, XK_h, setmwfact, "-0.05" },
48 { MODKEY, XK_l, setmwfact, "+0.05" },
49 { MODKEY, XK_r, reapply, NULL }, 96 { MODKEY, XK_r, reapply, NULL },
50 { MODKEY, XK_Return, zoom, NULL }, 97 { MODKEY, XK_Return, zoom, NULL },
51 { MODKEY, XK_Tab, viewprevtag, NULL }, 98 { MODKEY, XK_Tab, viewprevtag, NULL },
52 { MODKEY, XK_space, setlayout, NULL }, 99 { MODKEY, XK_m, setlayout, "[M]" },
100 { MODKEY, XK_f, setlayout, "><>" },
101 { MODKEY, XK_t, setlayout, "[]=" },
53 { MODKEY|ShiftMask, XK_space, togglefloating, NULL }, 102 { MODKEY|ShiftMask, XK_space, togglefloating, NULL },
54 { MODKEY|ShiftMask, XK_c, killclient, NULL }, 103 { MODKEY|ShiftMask, XK_c, killclient, NULL },
55 { MODKEY, XK_0, view, NULL }, 104 { MODKEY, XK_0, view, NULL },