aboutsummaryrefslogtreecommitdiffstats
path: root/config.def.h
diff options
context:
space:
mode:
authorAlexander Leonhardt <equinox.salexander@gmail.com>
2026-09-05 13:27:35 +0200
committerAlexander Leonhardt <equinox.salexander@gmail.com>
2026-09-05 13:27:35 +0200
commit991e8641545c0544372389d0cb6b1a37cef8517f (patch)
treea56c4caa5caac19b4efbf9b43fdfb11d86780bd3 /config.def.h
parent25de10088e31304b154e3ff5c64da945f2e4bf3d (diff)
parent598aa153a47d8e4fd5d8f6cbf4c44725d90b145f (diff)
downloaddwl-991e8641545c0544372389d0cb6b1a37cef8517f.tar.gz
dwl-991e8641545c0544372389d0cb6b1a37cef8517f.tar.bz2
dwl-991e8641545c0544372389d0cb6b1a37cef8517f.zip
Merge branch 'scratchpad' into merged
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index 2e00524..55a0130 100644
--- a/config.def.h
+++ b/config.def.h
@@ -25,6 +25,7 @@ static uint32_t colors[][3] = {
[SchemeTitle] = { 0x00CCEEff, 0x222222ff, 0x770000ff },
};
+#define SCRATCHPAD_COUNT 1
/* tagging - TAGCOUNT must be no greater than 31 */
/* tagging */
static char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
@@ -151,6 +152,9 @@ static const Key keys[] = {
{ MODKEY, XKB_KEY_Return, zoom, {0} },
{ MODKEY, XKB_KEY_Tab, view, {0} },
{ MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_c, killclient, {0} },
+ { MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_z, addscratchpad, {0} },
+ { MODKEY, XKB_KEY_z, togglescratchpad, {0} },
+ { MODKEY|WLR_MODIFIER_CTRL, XKB_KEY_z, removescratchpad, {0} },
{ MODKEY, XKB_KEY_t, setlayout, {.v = &layouts[0]} },
{ MODKEY, XKB_KEY_f, setlayout, {.v = &layouts[1]} },
{ MODKEY, XKB_KEY_m, setlayout, {.v = &layouts[2]} },