From aa2e57b45c6f9027c6222af703bd66e1e4de924e Mon Sep 17 00:00:00 2001 From: Solomon Laing Date: Sat, 3 May 2025 22:01:57 +0930 Subject: [PATCH] new things, thanks luke --- config.def.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/config.def.h b/config.def.h index 04c5b68..526e95d 100644 --- a/config.def.h +++ b/config.def.h @@ -106,8 +106,8 @@ static const Keychord *keychords[] = { &((Keychord){1, {{MODKEY, XK_j}}, focusstack, {.i = +1} }), &((Keychord){1, {{MODKEY, XK_k}}, focusstack, {.i = -1} }), - &((Keychord){1, {{MODKEY | ShiftMask, XK_v}}, incnmaster, {.i = +1} }), - &((Keychord){1, {{MODKEY | ShiftMask, XK_w}}, incnmaster, {.i = -1} }), + &((Keychord){1, {{MODKEY | ShiftMask, XK_v}}, incnmaster, {.i = +1} }), + &((Keychord){1, {{MODKEY | ShiftMask, XK_w}}, incnmaster, {.i = -1} }), &((Keychord){1, {{MODKEY, XK_equal}}, setmfact, {.f = +0.05} }), &((Keychord){1, {{MODKEY, XK_minus}}, setmfact, {.f = -0.05} }), &((Keychord){1, {{MODKEY | ShiftMask, XK_j}}, movestack, {.i = +1} }), @@ -130,8 +130,7 @@ static const Keychord *keychords[] = { &((Keychord){1, {{MODKEY | ShiftMask, XK_comma}}, tagmon, {.i = -1} }), &((Keychord){1, {{MODKEY | ShiftMask, XK_period}}, tagmon, {.i = +1} }), - &((Keychord){1, {{MODKEY | ShiftMask, XK_s}}, spawn, {.v = (const char *[]){"dmenuprompt","Are you sure you want to shutdown?","shutdown -h now", NULL}} }), - &((Keychord){1, {{MODKEY | ShiftMask, XK_r}}, spawn, {.v = (const char *[]){"dmenuprompt", "Are you sure you want to restart?", "shutdown -r now", NULL}} }), + &((Keychord){1, {{MODKEY | ShiftMask, XK_s}}, spawn, {.v = (const char *[]){"sysact", NULL}} }), &((Keychord){1, {{MODKEY | ShiftMask, XK_o}}, spawn, {.v = (const char *[]){"set-default-sink", NULL}} }), &((Keychord){1, {{MODKEY | ShiftMask, XK_i}}, spawn, {.v = (const char *[]){"set-default-source", NULL}} }), @@ -150,10 +149,13 @@ static const Keychord *keychords[] = { &((Keychord){2, {{MODKEY, XK_d}, {MODKEY, XK_c}}, spawn, {.v = (const char *[]){"dmenumountcifs", NULL}} }), &((Keychord){2, {{MODKEY, XK_d}, {MODKEY, XK_u}}, spawn, {.v = (const char *[]){"unmounter", NULL}} }), &((Keychord){2, {{MODKEY, XK_d}, {MODKEY, XK_s}}, spawn, {.v = (const char *[]){"dmenusearch", "duckduckgo", NULL}} }), + &((Keychord){1, {{MODKEY, XK_d}, {MODKEY, XK_d}}, spawn, {.v = (const char *[]){"dmenuhandler", NULL}} }), &((Keychord){2, {{MODKEY, XK_d}, {MODKEY, XK_b}}, spawn, SHCMD("dmenu-bluetooth -i -l 25") }), - &((Keychord){1, {{MODKEY, XK_t}}, spawn, SHCMD("trayer-toggle trayer --edge top --align center --widthtype request " "--padding 6 --SetDockType true --SetPartialStrut true --expand " "true --transparent true --alpha 0 --tint 0x262626 --height 18 &") }), + &((Keychord){1, {{MODKEY | ShiftMask, XK_t}}, spawn, SHCMD("trayer-toggle trayer --edge top --align center --widthtype request " "--padding 6 --SetDockType true --SetPartialStrut true --expand " "true --transparent true --alpha 0 --tint 0x262626 --height 18 &") }), + + &((Keychord){1, {{MODKEY | ControlMask, XK_period}}, spawn, {.v = (const char *[]){"sd", NULL}} }), &((Keychord){1, {{MODKEY, XK_f}}, spawn, {.v = (const char *[]){"screenlayout", NULL}} }),