summaryrefslogtreecommitdiffstats
path: root/config.arg.h
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@gmail.com>2007-08-11 12:11:50 +0200
committerAnselm R. Garbe <garbeam@gmail.com>2007-08-11 12:11:50 +0200
commit2d81b78b853565a3e34a8a9190e2362a6fdde739 (patch)
treed58d24853f77685588e42f73a01d782980a3b95e /config.arg.h
parentlet not overlap the borders (diff)
downloaddwm-2d81b78b853565a3e34a8a9190e2362a6fdde739.tar.gz
dwm-2d81b78b853565a3e34a8a9190e2362a6fdde739.zip
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
Diffstat (limited to '')
-rw-r--r--config.arg.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/config.arg.h b/config.arg.h
index 4d441f8..6fd4218 100644
--- a/config.arg.h
+++ b/config.arg.h
@@ -24,7 +24,8 @@ static Rule rule[] = { \
24}; 24};
25 25
26/* layout(s) */ 26/* layout(s) */
27void tile(const char *arg); /* arranges all windows tiled */ 27#include "tile.h"
28#include "float.h"
28#define LAYOUTS \ 29#define LAYOUTS \
29static Layout layout[] = { \ 30static Layout layout[] = { \
30 /* symbol function */ \ 31 /* symbol function */ \
@@ -46,10 +47,10 @@ static Key key[] = { \
46 "exec urxvtcd -tr -bg '#111' -fg '#eee' -cr '#eee' +sb -fn '"FONT"'" }, \ 47 "exec urxvtcd -tr -bg '#111' -fg '#eee' -cr '#eee' +sb -fn '"FONT"'" }, \
47 { MODKEY, XK_space, setlayout, NULL }, \ 48 { MODKEY, XK_space, setlayout, NULL }, \
48 { MODKEY, XK_b, togglebar, NULL }, \ 49 { MODKEY, XK_b, togglebar, NULL }, \
49 { MODKEY, XK_h, tile, "-0.05" }, \
50 { MODKEY, XK_j, focusclient, "1" }, \ 50 { MODKEY, XK_j, focusclient, "1" }, \
51 { MODKEY, XK_k, focusclient, "-1" }, \ 51 { MODKEY, XK_k, focusclient, "-1" }, \
52 { MODKEY, XK_l, tile, "0.05" }, \ 52 { MODKEY, XK_h, incmaster, "-0.05" }, \
53 { MODKEY, XK_l, incmaster, "0.05" }, \
53 { MODKEY, XK_m, togglemax, NULL }, \ 54 { MODKEY, XK_m, togglemax, NULL }, \
54 { MODKEY, XK_Return, zoom, NULL }, \ 55 { MODKEY, XK_Return, zoom, NULL }, \
55 { MODKEY|ShiftMask, XK_space, togglefloating, NULL }, \ 56 { MODKEY|ShiftMask, XK_space, togglefloating, NULL }, \