From 63daec931294896f5e758ebdb01bc8f36e0cfff4 Mon Sep 17 00:00:00 2001 From: vx-clutch Date: Tue, 10 Feb 2026 18:49:16 -0500 Subject: [PATCH] update binds --- config.def.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/config.def.h b/config.def.h index 2a009c4..513a0b4 100644 --- a/config.def.h +++ b/config.def.h @@ -27,8 +27,8 @@ static const Rule rules[] = { * WM_NAME(STRING) = title */ /* class instance title tags mask isfloating monitor */ - { "Gimp", NULL, NULL, 0, 1, -1 }, - { "sudoterm", NULL, NULL, 0, 1, -1 }, + { "Steam", NULL, NULL, 0, 1, -1 }, + { "sudoterm", NULL, NULL, 0, 1, -1 }, }; /* layout(s) */ @@ -63,7 +63,9 @@ static const char *termcmd[] = { "st", NULL }; static const char *sobercmd[] = { "flatpak", "run", "org.vinegarhq.Sober", NULL }; static const char *steamcmd[] = { "steam", NULL }; +static const char *discordcmd[] = { "vesktop", NULL }; static const char *browsercmd[] = { "librewolf", NULL }; +static const char *minecraftcmd[] = { "atlauncher", NULL }; static const char *sudocmd[] = { "st", "-c", "sudoterm", "-e", "su", "-", NULL }; #include @@ -74,15 +76,12 @@ static const Key keys[] = { { MODKEY, XK_Return, spawn, {.v = termcmd } }, { MODKEY, XK_j, focusstack, {.i = +1 } }, { MODKEY, XK_k, focusstack, {.i = -1 } }, - { MODKEY, XK_i, incnmaster, {.i = +1 } }, - { MODKEY, XK_d, incnmaster, {.i = -1 } }, { MODKEY, XK_h, setmfact, {.f = -0.05} }, { MODKEY, XK_l, setmfact, {.f = +0.05} }, { MODKEY, XK_Tab, view, {0} }, { MODKEY, XK_w, killclient, {0} }, { MODKEY, XK_t, setlayout, {.v = &layouts[0]} }, { MODKEY, XK_f, setlayout, {.v = &layouts[1]} }, - { MODKEY, XK_m, setlayout, {.v = &layouts[2]} }, { MODKEY, XK_v, togglefloating, {0} }, { MODKEY, XK_0, view, {.ui = ~0 } }, { MODKEY|ShiftMask, XK_0, tag, {.ui = ~0 } }, @@ -94,6 +93,8 @@ static const Key keys[] = { { MODKEY, XK_g, spawn, {.v = steamcmd } }, { MODKEY, XK_b, spawn, {.v = browsercmd } }, { MODKEY, XK_t, spawn, {.v = sudocmd } }, + { MODKEY, XK_d, spawn, {.v = discordcmd } }, + { MODKEY, XK_m, spawn, {.v = minecraftcmd } }, { 0, XF86XK_AudioMute, spawn, SHCMD("wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle; kill -44") }, { 0, XF86XK_AudioRaiseVolume, spawn, SHCMD("wpctl set-volume @DEFAULT_AUDIO_SINK@ 0%- && wpctl set-volume @DEFAULT_AUDIO_SINK@ 3%+; kill -44") },