summaryrefslogtreecommitdiffstats
path: root/config.def.h
diff options
context:
space:
mode:
authorChristoph Lohmann <20h@r-36.net>2012-11-25 22:09:55 +0100
committerChristoph Lohmann <20h@r-36.net>2012-11-25 22:09:55 +0100
commit6f49796250ed7ce87a79c19b9ae562ca423b88cb (patch)
tree265e232dd87ae3aaa27408a21822795fa770e7ab /config.def.h
parent719e5a97fe795b165a2265e6bb25a9238d2211d4 (diff)
downloadtabbed-6f49796250ed7ce87a79c19b9ae562ca423b88cb.tar.gz
Changing the single-linked list for clients to a malloc()ed array. This makes
algorithms more efficient, that depend on the number of clients or shuffeling around. The patch also adds new shortcuts to move tabs in their position. The default color scheme is changed to the one of the maintainer.
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/config.def.h b/config.def.h
index 3f91513..53de645 100644
--- a/config.def.h
+++ b/config.def.h
@@ -1,11 +1,11 @@
/* See LICENSE file for copyright and license details. */
/* appearance */
-static const char font[] = "-*-terminus-medium-r-*-*-16-*-*-*-*-*-*-*";
+static const char font[] = "-*-*-medium-*-*-*-14-*-*-*-*-*-*-*";
static const char normbgcolor[] = "#222222";
-static const char normfgcolor[] = "#bbbbbb";
-static const char selbgcolor[] = "#005577";
-static const char selfgcolor[] = "#eeeeee";
+static const char normfgcolor[] = "#cccccc";
+static const char selbgcolor[] = "#555555";
+static const char selfgcolor[] = "#ffffff";
static const char before[] = "<";
static const char after[] = ">";
static const int tabwidth = 200;
@@ -18,6 +18,8 @@ static Key keys[] = { \
{ MODKEY|ShiftMask, XK_Return, spawn, { 0 } },
{ MODKEY|ShiftMask, XK_l, rotate, { .i = +1 } },
{ MODKEY|ShiftMask, XK_h, rotate, { .i = -1 } },
+ { MODKEY|ShiftMask, XK_j, movetab, { .i = -1 } },
+ { MODKEY|ShiftMask, XK_k, movetab, { .i = +1 } },
{ MODKEY, XK_Tab, rotate, { .i = 0 } },
{ MODKEY, XK_1, move, { .i = 0 } },
{ MODKEY, XK_2, move, { .i = 1 } },
@@ -31,3 +33,4 @@ static Key keys[] = { \
{ MODKEY, XK_0, move, { .i = 9 } },
{ MODKEY, XK_q, killclient, { 0 } },
};
+