author | Anselm R. Garbe <garbeam@gmail.com> |
Sat, 15 Sep 2007 10:35:18 +0200 | |
changeset 986 | 2d6f17254ba8 |
parent 984 | config.default.h@57dd38ea27ba |
child 989 | 5f7018237edb |
permissions | -rw-r--r-- |
910
c13cb8c6b7a5
referred to LICENSE file
Anselm R. Garbe <arg@suckless.org>
parents:
909
diff
changeset
|
1 |
/* See LICENSE file for copyright and license details. */ |
146
f328ce9c558c
centralized/externalized configuration to config.h
arg@10ksloc.org
parents:
diff
changeset
|
2 |
|
798
2c42d9e7f79c
cleaned up and commented the config.*.h
Anselm R. Garbe <arg@suckless.org>
parents:
788
diff
changeset
|
3 |
/* appearance */ |
878 | 4 |
#define BARPOS BarTop /* BarBot, BarOff */ |
769
dc60583894e0
introduced tile.c, some refactoring of functions
Anselm R. Garbe <arg@suckless.org>
parents:
758
diff
changeset
|
5 |
#define BORDERPX 1 |
984
57dd38ea27ba
removed config.arg.h, only 1 config.h necessary
Anselm R. Garbe <garbeam@gmail.com>
parents:
979
diff
changeset
|
6 |
#define FONT "-*-terminus-medium-r-*-*-12-*-*-*-*-*-iso10646-*" |
57dd38ea27ba
removed config.arg.h, only 1 config.h necessary
Anselm R. Garbe <garbeam@gmail.com>
parents:
979
diff
changeset
|
7 |
#define DARK /* LIGHT */ |
57dd38ea27ba
removed config.arg.h, only 1 config.h necessary
Anselm R. Garbe <garbeam@gmail.com>
parents:
979
diff
changeset
|
8 |
#ifdef DARK |
57dd38ea27ba
removed config.arg.h, only 1 config.h necessary
Anselm R. Garbe <garbeam@gmail.com>
parents:
979
diff
changeset
|
9 |
#define NORMBORDERCOLOR "#222" |
57dd38ea27ba
removed config.arg.h, only 1 config.h necessary
Anselm R. Garbe <garbeam@gmail.com>
parents:
979
diff
changeset
|
10 |
#define NORMBGCOLOR "#000" |
986
2d6f17254ba8
renamed config.default.h into config.h
Anselm R. Garbe <garbeam@gmail.com>
parents:
984
diff
changeset
|
11 |
#define NORMFGCOLOR "#ddd" |
984
57dd38ea27ba
removed config.arg.h, only 1 config.h necessary
Anselm R. Garbe <garbeam@gmail.com>
parents:
979
diff
changeset
|
12 |
#define SELBORDERCOLOR "#09f" |
57dd38ea27ba
removed config.arg.h, only 1 config.h necessary
Anselm R. Garbe <garbeam@gmail.com>
parents:
979
diff
changeset
|
13 |
#else |
57dd38ea27ba
removed config.arg.h, only 1 config.h necessary
Anselm R. Garbe <garbeam@gmail.com>
parents:
979
diff
changeset
|
14 |
#define NORMBORDERCOLOR "#666" |
57dd38ea27ba
removed config.arg.h, only 1 config.h necessary
Anselm R. Garbe <garbeam@gmail.com>
parents:
979
diff
changeset
|
15 |
#define NORMBGCOLOR "#eee" |
57dd38ea27ba
removed config.arg.h, only 1 config.h necessary
Anselm R. Garbe <garbeam@gmail.com>
parents:
979
diff
changeset
|
16 |
#define NORMFGCOLOR "#222" |
57dd38ea27ba
removed config.arg.h, only 1 config.h necessary
Anselm R. Garbe <garbeam@gmail.com>
parents:
979
diff
changeset
|
17 |
#define SELBORDERCOLOR "#f00" |
57dd38ea27ba
removed config.arg.h, only 1 config.h necessary
Anselm R. Garbe <garbeam@gmail.com>
parents:
979
diff
changeset
|
18 |
#endif |
57dd38ea27ba
removed config.arg.h, only 1 config.h necessary
Anselm R. Garbe <garbeam@gmail.com>
parents:
979
diff
changeset
|
19 |
#define SELBGCOLOR "#369" |
57dd38ea27ba
removed config.arg.h, only 1 config.h necessary
Anselm R. Garbe <garbeam@gmail.com>
parents:
979
diff
changeset
|
20 |
#define SELFGCOLOR "#fff" |
146
f328ce9c558c
centralized/externalized configuration to config.h
arg@10ksloc.org
parents:
diff
changeset
|
21 |
|
845
baee494346e5
prepared 3.7, ready to rambo
Anselm R. Garbe <arg@suckless.org>
parents:
842
diff
changeset
|
22 |
/* tagging */ |
787
9728e9e85f93
changed some odering in config*.h
Anselm R. Garbe <arg@suckless.org>
parents:
785
diff
changeset
|
23 |
#define TAGS \ |
9728e9e85f93
changed some odering in config*.h
Anselm R. Garbe <arg@suckless.org>
parents:
785
diff
changeset
|
24 |
const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9", NULL }; |
798
2c42d9e7f79c
cleaned up and commented the config.*.h
Anselm R. Garbe <arg@suckless.org>
parents:
788
diff
changeset
|
25 |
#define RULES \ |
958 | 26 |
static Rule rules[] = { \ |
837
123231b9eb87
renamed untiled into floating, keeping tiled instead of tiling (afaik tiled sounds more correct) - English speakers convinced me
Anselm R. Garbe <arg@suckless.org>
parents:
833
diff
changeset
|
27 |
/* class:instance:title regex tags regex isfloating */ \ |
984
57dd38ea27ba
removed config.arg.h, only 1 config.h necessary
Anselm R. Garbe <garbeam@gmail.com>
parents:
979
diff
changeset
|
28 |
{ "Firefox", "3", False }, \ |
798
2c42d9e7f79c
cleaned up and commented the config.*.h
Anselm R. Garbe <arg@suckless.org>
parents:
788
diff
changeset
|
29 |
{ "Gimp", NULL, True }, \ |
2c42d9e7f79c
cleaned up and commented the config.*.h
Anselm R. Garbe <arg@suckless.org>
parents:
788
diff
changeset
|
30 |
{ "MPlayer", NULL, True }, \ |
2c42d9e7f79c
cleaned up and commented the config.*.h
Anselm R. Garbe <arg@suckless.org>
parents:
788
diff
changeset
|
31 |
{ "Acroread", NULL, True }, \ |
2c42d9e7f79c
cleaned up and commented the config.*.h
Anselm R. Garbe <arg@suckless.org>
parents:
788
diff
changeset
|
32 |
}; |
787
9728e9e85f93
changed some odering in config*.h
Anselm R. Garbe <arg@suckless.org>
parents:
785
diff
changeset
|
33 |
|
798
2c42d9e7f79c
cleaned up and commented the config.*.h
Anselm R. Garbe <arg@suckless.org>
parents:
788
diff
changeset
|
34 |
/* layout(s) */ |
941
8c93b982f22e
separated layout-specific stuff into separate .h and .c files which are included in config.h resp. config.mk - this allows writing layouts for dwm without any need to patch existing code
Anselm R. Garbe <garbeam@gmail.com>
parents:
939
diff
changeset
|
35 |
#include "tile.h" |
787
9728e9e85f93
changed some odering in config*.h
Anselm R. Garbe <arg@suckless.org>
parents:
785
diff
changeset
|
36 |
#define LAYOUTS \ |
958 | 37 |
static Layout layouts[] = { \ |
787
9728e9e85f93
changed some odering in config*.h
Anselm R. Garbe <arg@suckless.org>
parents:
785
diff
changeset
|
38 |
/* symbol function */ \ |
9728e9e85f93
changed some odering in config*.h
Anselm R. Garbe <arg@suckless.org>
parents:
785
diff
changeset
|
39 |
{ "[]=", tile }, /* first entry is default */ \ |
837
123231b9eb87
renamed untiled into floating, keeping tiled instead of tiling (afaik tiled sounds more correct) - English speakers convinced me
Anselm R. Garbe <arg@suckless.org>
parents:
833
diff
changeset
|
40 |
{ "><>", floating }, \ |
787
9728e9e85f93
changed some odering in config*.h
Anselm R. Garbe <arg@suckless.org>
parents:
785
diff
changeset
|
41 |
}; |
984
57dd38ea27ba
removed config.arg.h, only 1 config.h necessary
Anselm R. Garbe <garbeam@gmail.com>
parents:
979
diff
changeset
|
42 |
#define RESIZEHINTS True /* False - respect size hints in tiled resizals */ |
943
d0b93818f723
renamed MASTER into MWFACT, master into mwfact, and incmaster into addtomwfact
Anselm R. Garbe <garbeam@gmail.com>
parents:
941
diff
changeset
|
43 |
#define MWFACT 0.6 /* master width factor [0.1 .. 0.9] */ |
931
8ff0f913999e
implemented ratio tile as described on the mailinglist
Anselm R. Garbe <garbeam@gmail.com>
parents:
910
diff
changeset
|
44 |
#define SNAP 32 /* snap pixel */ |
787
9728e9e85f93
changed some odering in config*.h
Anselm R. Garbe <arg@suckless.org>
parents:
785
diff
changeset
|
45 |
|
798
2c42d9e7f79c
cleaned up and commented the config.*.h
Anselm R. Garbe <arg@suckless.org>
parents:
788
diff
changeset
|
46 |
/* key definitions */ |
2c42d9e7f79c
cleaned up and commented the config.*.h
Anselm R. Garbe <arg@suckless.org>
parents:
788
diff
changeset
|
47 |
#define MODKEY Mod1Mask |
146
f328ce9c558c
centralized/externalized configuration to config.h
arg@10ksloc.org
parents:
diff
changeset
|
48 |
#define KEYS \ |
958 | 49 |
Key keys[] = { \ |
589 | 50 |
/* modifier key function argument */ \ |
984
57dd38ea27ba
removed config.arg.h, only 1 config.h necessary
Anselm R. Garbe <garbeam@gmail.com>
parents:
979
diff
changeset
|
51 |
{ MODKEY, XK_p, spawn, \ |
57dd38ea27ba
removed config.arg.h, only 1 config.h necessary
Anselm R. Garbe <garbeam@gmail.com>
parents:
979
diff
changeset
|
52 |
"exe=`dmenu_path | dmenu -fn '"FONT"' -nb '"NORMBGCOLOR"' -nf '"NORMFGCOLOR"'" \ |
57dd38ea27ba
removed config.arg.h, only 1 config.h necessary
Anselm R. Garbe <garbeam@gmail.com>
parents:
979
diff
changeset
|
53 |
" -sb '"SELBGCOLOR"' -sf '"SELFGCOLOR"'` && exec $exe" }, \ |
57dd38ea27ba
removed config.arg.h, only 1 config.h necessary
Anselm R. Garbe <garbeam@gmail.com>
parents:
979
diff
changeset
|
54 |
{ MODKEY|ShiftMask, XK_Return, spawn, \ |
57dd38ea27ba
removed config.arg.h, only 1 config.h necessary
Anselm R. Garbe <garbeam@gmail.com>
parents:
979
diff
changeset
|
55 |
"exec xterm -bg '"NORMBGCOLOR"' -fg '"NORMFGCOLOR"' -cr '"NORMFGCOLOR"' +sb -fn '"FONT"'" }, \ |
823
fb5cbf0bd923
replaced Arg union with const char *arg, seems cleaner to me, even if we need atoi() in some places
Anselm R. Garbe <arg@suckless.org>
parents:
822
diff
changeset
|
56 |
{ MODKEY, XK_space, setlayout, NULL }, \ |
878 | 57 |
{ MODKEY, XK_b, togglebar, NULL }, \ |
956
484245788760
made tag/view/toggle{tag,view} work on pointer to tags-array, there was the need to define Key key[] not static to do this. split focusclient into focusnext/prev, fixed config.*.h's
Anselm R. Garbe <garbeam@gmail.com>
parents:
944
diff
changeset
|
58 |
{ MODKEY, XK_j, focusnext, NULL }, \ |
484245788760
made tag/view/toggle{tag,view} work on pointer to tags-array, there was the need to define Key key[] not static to do this. split focusclient into focusnext/prev, fixed config.*.h's
Anselm R. Garbe <garbeam@gmail.com>
parents:
944
diff
changeset
|
59 |
{ MODKEY, XK_k, focusprev, NULL }, \ |
959
0aeefb841608
applied Jukka Salmi's setmwfact patch
Anselm R. Garbe <garbeam@gmail.com>
parents:
958
diff
changeset
|
60 |
{ MODKEY, XK_h, setmwfact, "-0.05" }, \ |
0aeefb841608
applied Jukka Salmi's setmwfact patch
Anselm R. Garbe <garbeam@gmail.com>
parents:
958
diff
changeset
|
61 |
{ MODKEY, XK_l, setmwfact, "+0.05" }, \ |
823
fb5cbf0bd923
replaced Arg union with const char *arg, seems cleaner to me, even if we need atoi() in some places
Anselm R. Garbe <arg@suckless.org>
parents:
822
diff
changeset
|
62 |
{ MODKEY, XK_m, togglemax, NULL }, \ |
fb5cbf0bd923
replaced Arg union with const char *arg, seems cleaner to me, even if we need atoi() in some places
Anselm R. Garbe <arg@suckless.org>
parents:
822
diff
changeset
|
63 |
{ MODKEY, XK_Return, zoom, NULL }, \ |
837
123231b9eb87
renamed untiled into floating, keeping tiled instead of tiling (afaik tiled sounds more correct) - English speakers convinced me
Anselm R. Garbe <arg@suckless.org>
parents:
833
diff
changeset
|
64 |
{ MODKEY|ShiftMask, XK_space, togglefloating, NULL }, \ |
823
fb5cbf0bd923
replaced Arg union with const char *arg, seems cleaner to me, even if we need atoi() in some places
Anselm R. Garbe <arg@suckless.org>
parents:
822
diff
changeset
|
65 |
{ MODKEY|ShiftMask, XK_c, killclient, NULL }, \ |
fb5cbf0bd923
replaced Arg union with const char *arg, seems cleaner to me, even if we need atoi() in some places
Anselm R. Garbe <arg@suckless.org>
parents:
822
diff
changeset
|
66 |
{ MODKEY, XK_0, view, NULL }, \ |
956
484245788760
made tag/view/toggle{tag,view} work on pointer to tags-array, there was the need to define Key key[] not static to do this. split focusclient into focusnext/prev, fixed config.*.h's
Anselm R. Garbe <garbeam@gmail.com>
parents:
944
diff
changeset
|
67 |
{ MODKEY, XK_1, view, tags[0] }, \ |
484245788760
made tag/view/toggle{tag,view} work on pointer to tags-array, there was the need to define Key key[] not static to do this. split focusclient into focusnext/prev, fixed config.*.h's
Anselm R. Garbe <garbeam@gmail.com>
parents:
944
diff
changeset
|
68 |
{ MODKEY, XK_2, view, tags[1] }, \ |
484245788760
made tag/view/toggle{tag,view} work on pointer to tags-array, there was the need to define Key key[] not static to do this. split focusclient into focusnext/prev, fixed config.*.h's
Anselm R. Garbe <garbeam@gmail.com>
parents:
944
diff
changeset
|
69 |
{ MODKEY, XK_3, view, tags[2] }, \ |
484245788760
made tag/view/toggle{tag,view} work on pointer to tags-array, there was the need to define Key key[] not static to do this. split focusclient into focusnext/prev, fixed config.*.h's
Anselm R. Garbe <garbeam@gmail.com>
parents:
944
diff
changeset
|
70 |
{ MODKEY, XK_4, view, tags[3] }, \ |
484245788760
made tag/view/toggle{tag,view} work on pointer to tags-array, there was the need to define Key key[] not static to do this. split focusclient into focusnext/prev, fixed config.*.h's
Anselm R. Garbe <garbeam@gmail.com>
parents:
944
diff
changeset
|
71 |
{ MODKEY, XK_5, view, tags[4] }, \ |
484245788760
made tag/view/toggle{tag,view} work on pointer to tags-array, there was the need to define Key key[] not static to do this. split focusclient into focusnext/prev, fixed config.*.h's
Anselm R. Garbe <garbeam@gmail.com>
parents:
944
diff
changeset
|
72 |
{ MODKEY, XK_6, view, tags[5] }, \ |
484245788760
made tag/view/toggle{tag,view} work on pointer to tags-array, there was the need to define Key key[] not static to do this. split focusclient into focusnext/prev, fixed config.*.h's
Anselm R. Garbe <garbeam@gmail.com>
parents:
944
diff
changeset
|
73 |
{ MODKEY, XK_7, view, tags[6] }, \ |
484245788760
made tag/view/toggle{tag,view} work on pointer to tags-array, there was the need to define Key key[] not static to do this. split focusclient into focusnext/prev, fixed config.*.h's
Anselm R. Garbe <garbeam@gmail.com>
parents:
944
diff
changeset
|
74 |
{ MODKEY, XK_8, view, tags[7] }, \ |
484245788760
made tag/view/toggle{tag,view} work on pointer to tags-array, there was the need to define Key key[] not static to do this. split focusclient into focusnext/prev, fixed config.*.h's
Anselm R. Garbe <garbeam@gmail.com>
parents:
944
diff
changeset
|
75 |
{ MODKEY, XK_9, view, tags[8] }, \ |
484245788760
made tag/view/toggle{tag,view} work on pointer to tags-array, there was the need to define Key key[] not static to do this. split focusclient into focusnext/prev, fixed config.*.h's
Anselm R. Garbe <garbeam@gmail.com>
parents:
944
diff
changeset
|
76 |
{ MODKEY|ControlMask, XK_1, toggleview, tags[0] }, \ |
484245788760
made tag/view/toggle{tag,view} work on pointer to tags-array, there was the need to define Key key[] not static to do this. split focusclient into focusnext/prev, fixed config.*.h's
Anselm R. Garbe <garbeam@gmail.com>
parents:
944
diff
changeset
|
77 |
{ MODKEY|ControlMask, XK_2, toggleview, tags[1] }, \ |
484245788760
made tag/view/toggle{tag,view} work on pointer to tags-array, there was the need to define Key key[] not static to do this. split focusclient into focusnext/prev, fixed config.*.h's
Anselm R. Garbe <garbeam@gmail.com>
parents:
944
diff
changeset
|
78 |
{ MODKEY|ControlMask, XK_3, toggleview, tags[2] }, \ |
484245788760
made tag/view/toggle{tag,view} work on pointer to tags-array, there was the need to define Key key[] not static to do this. split focusclient into focusnext/prev, fixed config.*.h's
Anselm R. Garbe <garbeam@gmail.com>
parents:
944
diff
changeset
|
79 |
{ MODKEY|ControlMask, XK_4, toggleview, tags[3] }, \ |
484245788760
made tag/view/toggle{tag,view} work on pointer to tags-array, there was the need to define Key key[] not static to do this. split focusclient into focusnext/prev, fixed config.*.h's
Anselm R. Garbe <garbeam@gmail.com>
parents:
944
diff
changeset
|
80 |
{ MODKEY|ControlMask, XK_5, toggleview, tags[4] }, \ |
484245788760
made tag/view/toggle{tag,view} work on pointer to tags-array, there was the need to define Key key[] not static to do this. split focusclient into focusnext/prev, fixed config.*.h's
Anselm R. Garbe <garbeam@gmail.com>
parents:
944
diff
changeset
|
81 |
{ MODKEY|ControlMask, XK_6, toggleview, tags[5] }, \ |
484245788760
made tag/view/toggle{tag,view} work on pointer to tags-array, there was the need to define Key key[] not static to do this. split focusclient into focusnext/prev, fixed config.*.h's
Anselm R. Garbe <garbeam@gmail.com>
parents:
944
diff
changeset
|
82 |
{ MODKEY|ControlMask, XK_7, toggleview, tags[6] }, \ |
484245788760
made tag/view/toggle{tag,view} work on pointer to tags-array, there was the need to define Key key[] not static to do this. split focusclient into focusnext/prev, fixed config.*.h's
Anselm R. Garbe <garbeam@gmail.com>
parents:
944
diff
changeset
|
83 |
{ MODKEY|ControlMask, XK_8, toggleview, tags[7] }, \ |
484245788760
made tag/view/toggle{tag,view} work on pointer to tags-array, there was the need to define Key key[] not static to do this. split focusclient into focusnext/prev, fixed config.*.h's
Anselm R. Garbe <garbeam@gmail.com>
parents:
944
diff
changeset
|
84 |
{ MODKEY|ControlMask, XK_9, toggleview, tags[8] }, \ |
823
fb5cbf0bd923
replaced Arg union with const char *arg, seems cleaner to me, even if we need atoi() in some places
Anselm R. Garbe <arg@suckless.org>
parents:
822
diff
changeset
|
85 |
{ MODKEY|ShiftMask, XK_0, tag, NULL }, \ |
956
484245788760
made tag/view/toggle{tag,view} work on pointer to tags-array, there was the need to define Key key[] not static to do this. split focusclient into focusnext/prev, fixed config.*.h's
Anselm R. Garbe <garbeam@gmail.com>
parents:
944
diff
changeset
|
86 |
{ MODKEY|ShiftMask, XK_1, tag, tags[0] }, \ |
484245788760
made tag/view/toggle{tag,view} work on pointer to tags-array, there was the need to define Key key[] not static to do this. split focusclient into focusnext/prev, fixed config.*.h's
Anselm R. Garbe <garbeam@gmail.com>
parents:
944
diff
changeset
|
87 |
{ MODKEY|ShiftMask, XK_2, tag, tags[1] }, \ |
484245788760
made tag/view/toggle{tag,view} work on pointer to tags-array, there was the need to define Key key[] not static to do this. split focusclient into focusnext/prev, fixed config.*.h's
Anselm R. Garbe <garbeam@gmail.com>
parents:
944
diff
changeset
|
88 |
{ MODKEY|ShiftMask, XK_3, tag, tags[2] }, \ |
484245788760
made tag/view/toggle{tag,view} work on pointer to tags-array, there was the need to define Key key[] not static to do this. split focusclient into focusnext/prev, fixed config.*.h's
Anselm R. Garbe <garbeam@gmail.com>
parents:
944
diff
changeset
|
89 |
{ MODKEY|ShiftMask, XK_4, tag, tags[3] }, \ |
484245788760
made tag/view/toggle{tag,view} work on pointer to tags-array, there was the need to define Key key[] not static to do this. split focusclient into focusnext/prev, fixed config.*.h's
Anselm R. Garbe <garbeam@gmail.com>
parents:
944
diff
changeset
|
90 |
{ MODKEY|ShiftMask, XK_5, tag, tags[4] }, \ |
484245788760
made tag/view/toggle{tag,view} work on pointer to tags-array, there was the need to define Key key[] not static to do this. split focusclient into focusnext/prev, fixed config.*.h's
Anselm R. Garbe <garbeam@gmail.com>
parents:
944
diff
changeset
|
91 |
{ MODKEY|ShiftMask, XK_6, tag, tags[5] }, \ |
484245788760
made tag/view/toggle{tag,view} work on pointer to tags-array, there was the need to define Key key[] not static to do this. split focusclient into focusnext/prev, fixed config.*.h's
Anselm R. Garbe <garbeam@gmail.com>
parents:
944
diff
changeset
|
92 |
{ MODKEY|ShiftMask, XK_7, tag, tags[6] }, \ |
484245788760
made tag/view/toggle{tag,view} work on pointer to tags-array, there was the need to define Key key[] not static to do this. split focusclient into focusnext/prev, fixed config.*.h's
Anselm R. Garbe <garbeam@gmail.com>
parents:
944
diff
changeset
|
93 |
{ MODKEY|ShiftMask, XK_8, tag, tags[7] }, \ |
484245788760
made tag/view/toggle{tag,view} work on pointer to tags-array, there was the need to define Key key[] not static to do this. split focusclient into focusnext/prev, fixed config.*.h's
Anselm R. Garbe <garbeam@gmail.com>
parents:
944
diff
changeset
|
94 |
{ MODKEY|ShiftMask, XK_9, tag, tags[8] }, \ |
484245788760
made tag/view/toggle{tag,view} work on pointer to tags-array, there was the need to define Key key[] not static to do this. split focusclient into focusnext/prev, fixed config.*.h's
Anselm R. Garbe <garbeam@gmail.com>
parents:
944
diff
changeset
|
95 |
{ MODKEY|ControlMask|ShiftMask, XK_1, toggletag, tags[0] }, \ |
484245788760
made tag/view/toggle{tag,view} work on pointer to tags-array, there was the need to define Key key[] not static to do this. split focusclient into focusnext/prev, fixed config.*.h's
Anselm R. Garbe <garbeam@gmail.com>
parents:
944
diff
changeset
|
96 |
{ MODKEY|ControlMask|ShiftMask, XK_2, toggletag, tags[1] }, \ |
484245788760
made tag/view/toggle{tag,view} work on pointer to tags-array, there was the need to define Key key[] not static to do this. split focusclient into focusnext/prev, fixed config.*.h's
Anselm R. Garbe <garbeam@gmail.com>
parents:
944
diff
changeset
|
97 |
{ MODKEY|ControlMask|ShiftMask, XK_3, toggletag, tags[2] }, \ |
484245788760
made tag/view/toggle{tag,view} work on pointer to tags-array, there was the need to define Key key[] not static to do this. split focusclient into focusnext/prev, fixed config.*.h's
Anselm R. Garbe <garbeam@gmail.com>
parents:
944
diff
changeset
|
98 |
{ MODKEY|ControlMask|ShiftMask, XK_4, toggletag, tags[3] }, \ |
484245788760
made tag/view/toggle{tag,view} work on pointer to tags-array, there was the need to define Key key[] not static to do this. split focusclient into focusnext/prev, fixed config.*.h's
Anselm R. Garbe <garbeam@gmail.com>
parents:
944
diff
changeset
|
99 |
{ MODKEY|ControlMask|ShiftMask, XK_5, toggletag, tags[4] }, \ |
484245788760
made tag/view/toggle{tag,view} work on pointer to tags-array, there was the need to define Key key[] not static to do this. split focusclient into focusnext/prev, fixed config.*.h's
Anselm R. Garbe <garbeam@gmail.com>
parents:
944
diff
changeset
|
100 |
{ MODKEY|ControlMask|ShiftMask, XK_6, toggletag, tags[5] }, \ |
484245788760
made tag/view/toggle{tag,view} work on pointer to tags-array, there was the need to define Key key[] not static to do this. split focusclient into focusnext/prev, fixed config.*.h's
Anselm R. Garbe <garbeam@gmail.com>
parents:
944
diff
changeset
|
101 |
{ MODKEY|ControlMask|ShiftMask, XK_7, toggletag, tags[6] }, \ |
484245788760
made tag/view/toggle{tag,view} work on pointer to tags-array, there was the need to define Key key[] not static to do this. split focusclient into focusnext/prev, fixed config.*.h's
Anselm R. Garbe <garbeam@gmail.com>
parents:
944
diff
changeset
|
102 |
{ MODKEY|ControlMask|ShiftMask, XK_8, toggletag, tags[7] }, \ |
484245788760
made tag/view/toggle{tag,view} work on pointer to tags-array, there was the need to define Key key[] not static to do this. split focusclient into focusnext/prev, fixed config.*.h's
Anselm R. Garbe <garbeam@gmail.com>
parents:
944
diff
changeset
|
103 |
{ MODKEY|ControlMask|ShiftMask, XK_9, toggletag, tags[8] }, \ |
823
fb5cbf0bd923
replaced Arg union with const char *arg, seems cleaner to me, even if we need atoi() in some places
Anselm R. Garbe <arg@suckless.org>
parents:
822
diff
changeset
|
104 |
{ MODKEY|ShiftMask, XK_q, quit, NULL }, \ |
146
f328ce9c558c
centralized/externalized configuration to config.h
arg@10ksloc.org
parents:
diff
changeset
|
105 |
}; |