aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Yun <joshua@joshuayun.com>2025-03-12 11:21:40 -0500
committerJoshua Yun <joshua@joshuayun.com>2025-03-12 11:21:40 -0500
commit1bc3f81f0982f8a996832d68632c4db55656e2bb (patch)
treea2b705baffe17742519bee797c9c3f1a248e8218
parent3073ed0aa0b37be44f4370a9644a8d86e34528de (diff)
downloaddwl-1bc3f81f0982f8a996832d68632c4db55656e2bb.tar.gz
feat: keyboard shortcuts
-rw-r--r--config.def.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/config.def.h b/config.def.h
index 8536870..4b05736 100644
--- a/config.def.h
+++ b/config.def.h
@@ -134,7 +134,7 @@ static const enum libinput_config_tap_button_map button_map = LIBINPUT_CONFIG_TA
#define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } }
/* commands */
-static const char *termcmd[] = { "foot", NULL };
+static const char *termcmd[] = { "kitty", NULL };
static const char *menucmd[] = { "wmenu-run", NULL };
static const char *dmenucmd[] = { "wmenu", NULL };
@@ -150,15 +150,14 @@ static const Key keys[] = {
{ MODKEY, XKB_KEY_d, incnmaster, {.i = -1} },
{ MODKEY, XKB_KEY_h, setmfact, {.f = -0.05f} },
{ MODKEY, XKB_KEY_l, setmfact, {.f = +0.05f} },
- { MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_Return, zoom, {0} },
{ MODKEY, XKB_KEY_Tab, view, {0} },
{ MODKEY, XKB_KEY_q, killclient, {0} },
{ MODKEY, XKB_KEY_t, setlayout, {.v = &layouts[0]} },
- { MODKEY, XKB_KEY_f, setlayout, {.v = &layouts[1]} },
+ /* { MODKEY, XKB_KEY_f, setlayout, {.v = &layouts[1]} }, */
{ MODKEY, XKB_KEY_m, setlayout, {.v = &layouts[2]} },
- { MODKEY, XKB_KEY_space, setlayout, {0} },
+ { MODKEY, XKB_KEY_space, zoom, {0} },
{ MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_space, togglefloating, {0} },
- { MODKEY, XKB_KEY_e, togglefullscreen, {0} },
+ { MODKEY, XKB_KEY_f, togglefullscreen, {0} },
{ MODKEY, XKB_KEY_0, view, {.ui = ~0} },
{ MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_parenright, tag, {.ui = ~0} },
{ MODKEY, XKB_KEY_comma, focusmon, {.i = WLR_DIRECTION_LEFT} },