summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Bogatov <KAction@debian.org>2018-12-27 11:53:17 +0000
committerDmitry Bogatov <KAction@debian.org>2019-01-03 09:59:26 +0000
commit49a99c47929d34736f41c585f014b44c53d9dbad (patch)
treea6f94f8932fb9f88b9f66b6f3a6addfaf05da711
parent575bdf28b127f5fdc4399666da641d87c77793ef (diff)
Increase number of tags to 9, to use all keyboard and match default configuration of `dwm'.
Gbp-Pq: Name increase-number-of-tags-to-9-to-use-all-.patch
-rw-r--r--config.def.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/config.def.h b/config.def.h
index 2e69ead..9d8a212 100644
--- a/config.def.h
+++ b/config.def.h
@@ -56,7 +56,7 @@ static Color colors[] = {
/* curses attributes for not selected tags which with urgent windows */
#define TAG_URGENT (COLOR(BLUE) | A_NORMAL | A_BLINK)
-const char tags[][8] = { "1", "2", "3", "4", "5" };
+const char tags[][8] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
#include "tile.c"
#include "grid.c"
@@ -142,6 +142,10 @@ static KeyBinding bindings[] = {
TAGKEYS( '3', 2)
TAGKEYS( '4', 3)
TAGKEYS( '5', 4)
+ TAGKEYS( '6', 5)
+ TAGKEYS( '7', 6)
+ TAGKEYS( '8', 7)
+ TAGKEYS( '9', 8)
};
static const ColorRule colorrules[] = {