Fixed keybinding for "k"

This commit is contained in:
Schizoid Party 2025-03-10 12:49:30 -04:00
parent 99600b1395
commit cd7518cc6a
Signed by: Schizoid.Party
GPG Key ID: A8BEB5739B164B7D
2 changed files with 12 additions and 8 deletions

View File

@ -93,7 +93,9 @@ static const char *dmenucmd[] = {
};
static const char *termcmd[] = { "st", NULL };
static const char *browser[] = { "firefox", NULL};
static const char *browser[] = { "librewolf", NULL};
static const char *rss[] = { "liferea", NULL};
static const char *tor[] = { "torbrowser-launcher", NULL};
static const char *email[] = { "thunderbird", NULL};
static const char *filemanagercmd[] = { "thunar", NULL };
static const char *scrot[] = { "screenshot", NULL };
@ -103,14 +105,15 @@ static const Key keys[] = {
/* modifier key function argument */
{ MODKEY, XK_d, spawn, {.v = dmenucmd } },
{ MODKEY, XK_b, spawn, {.v = browser } },
{ MODKEY|ShiftMask, XK_l, spawn, {.v = rss } },
{ MODKEY|ShiftMask, XK_b, spawn, {.v = tor } },
{ MODKEY|ShiftMask, XK_t, spawn, {.v = email } },
{ MODKEY, XK_Return, spawn, {.v = termcmd } },
{ MODKEY|ShiftMask, XK_Return, spawn, {.v = filemanagercmd } },
{ MODKEY|ShiftMask, XK_w, spawn, {.v = wpp } },
{ 0, XK_Print, spawn, {.v = scrot } },
{ MODKEY|ShiftMask, XK_b, togglebar, {0} },
{ MODKEY, XK_j, focusstack, {.i = +1 } },
{ MODKEY, XK_k, focusstack, {.i = -1 } },
//{ MODKEY, XK_i, incnmaster, {.i = +1 } },
//{ MODKEY, XK_o, incnmaster, {.i = -1 } },
{ MODKEY, XK_h, setmfact, {.f = -0.05} },
@ -124,7 +127,6 @@ static const Key keys[] = {
{ MODKEY, XK_r, setlayout, {.v = &layouts[3]} },
{ MODKEY|ShiftMask, XK_r, setlayout, {.v = &layouts[4]} },
{ MODKEY|ShiftMask, XK_f, fullscreen, {0} },
/*{ MODKEY, XK_v, setlayout, {0} },*/
{ MODKEY|ShiftMask, XK_space, togglefloating, {0} },
{ MODKEY, XK_0, view, {.ui = ~0 } },
{ MODKEY|ShiftMask, XK_0, tag, {.ui = ~0 } },

View File

@ -93,7 +93,9 @@ static const char *dmenucmd[] = {
};
static const char *termcmd[] = { "st", NULL };
static const char *browser[] = { "firefox", NULL};
static const char *browser[] = { "librewolf", NULL};
static const char *rss[] = { "liferea", NULL};
static const char *tor[] = { "torbrowser-launcher", NULL};
static const char *email[] = { "thunderbird", NULL};
static const char *filemanagercmd[] = { "thunar", NULL };
static const char *scrot[] = { "screenshot", NULL };
@ -103,14 +105,15 @@ static const Key keys[] = {
/* modifier key function argument */
{ MODKEY, XK_d, spawn, {.v = dmenucmd } },
{ MODKEY, XK_b, spawn, {.v = browser } },
{ MODKEY|ShiftMask, XK_l, spawn, {.v = rss } },
{ MODKEY|ShiftMask, XK_b, spawn, {.v = tor } },
{ MODKEY|ShiftMask, XK_t, spawn, {.v = email } },
{ MODKEY, XK_Return, spawn, {.v = termcmd } },
{ MODKEY|ShiftMask, XK_Return, spawn, {.v = filemanagercmd } },
{ MODKEY|ShiftMask, XK_w, spawn, {.v = wpp } },
{ 0, XK_Print, spawn, {.v = scrot } },
{ MODKEY|ShiftMask, XK_b, togglebar, {0} },
{ MODKEY, XK_j, focusstack, {.i = +1 } },
{ MODKEY, XK_k, focusstack, {.i = -1 } },
//{ MODKEY, XK_i, incnmaster, {.i = +1 } },
//{ MODKEY, XK_o, incnmaster, {.i = -1 } },
{ MODKEY, XK_h, setmfact, {.f = -0.05} },
@ -124,7 +127,6 @@ static const Key keys[] = {
{ MODKEY, XK_r, setlayout, {.v = &layouts[3]} },
{ MODKEY|ShiftMask, XK_r, setlayout, {.v = &layouts[4]} },
{ MODKEY|ShiftMask, XK_f, fullscreen, {0} },
/*{ MODKEY, XK_v, setlayout, {0} },*/
{ MODKEY|ShiftMask, XK_space, togglefloating, {0} },
{ MODKEY, XK_0, view, {.ui = ~0 } },
{ MODKEY|ShiftMask, XK_0, tag, {.ui = ~0 } },