working configs, can move between tags now

This commit is contained in:
joelchrono12 2023-01-12 21:31:08 -06:00
parent 3366d27de2
commit 09e3a49324
Signed by: chrono
GPG Key ID: E23D9C7FA57497A6
2 changed files with 16 additions and 16 deletions

View File

@ -76,7 +76,7 @@ static const char *brightup[] = { "brightnessctl", "set", "+15", NULL };
static const char *brightdown[] = { "brightnessctl", "set", "15-", NULL };
//#include "shift-tools.c"
#include "shift-tools.c"
#include "movestack.c"
#include "X11/XF86keysym.h"
static const Key keys[] = {
@ -84,10 +84,10 @@ static const Key keys[] = {
{ MODKEY, XK_p, spawn, {.v = dmenucmd } },
{ MODKEY, XK_r, spawn, {.v = rofirun } },
{ MODKEY, XK_Return, spawn, {.v = termcmd } },
//{ MODKEY|ShiftMask, XK_o, shiftview, { .i = +1 } },
//{ MODKEY|ShiftMask, XK_i, shiftview, { .i = -1 } },
//{ MODKEY, XK_Right, shiftview, { .i = +1 } },
//{ MODKEY, XK_Left, shiftview, { .i = -1 } },
{ MODKEY|ShiftMask, XK_o, shiftview, { .i = +1 } },
{ MODKEY|ShiftMask, XK_i, shiftview, { .i = -1 } },
{ MODKEY, XK_Right, shiftview, { .i = +1 } },
{ MODKEY, XK_Left, shiftview, { .i = -1 } },
{ MODKEY, XK_b, togglebar, {0} },
{ MODKEY, XK_j, focusstack, {.i = +1 } },
{ MODKEY, XK_k, focusstack, {.i = -1 } },
@ -104,10 +104,10 @@ static const Key keys[] = {
{ MODKEY, XK_f, setlayout, {.v = &layouts[1]} },
{ MODKEY, XK_m, setlayout, {.v = &layouts[2]} },
{ MODKEY, XK_space, setlayout, {0} },
//{ MODKEY|ShiftMask, XK_Left, shiftboth, { .i = -1 } },
{ MODKEY|ShiftMask, XK_Left, shiftboth, { .i = -1 } },
//{ MODKEY|ControlMask, XK_Left, shiftswaptags, { .i = -1 } },
//{ MODKEY|ControlMask, XK_Right, shiftswaptags, { .i = +1 } },
//{ MODKEY|ShiftMask, XK_Right, shiftboth, { .i = +1 } },
//{ MODKEY|ControlMask, XK_Right, shiftswaptags, { .i = +1 } },
{ MODKEY|ShiftMask, XK_Right, shiftboth, { .i = +1 } },
{ MODKEY|ShiftMask, XK_space, togglefloating, {0} },
{ MODKEY, XK_0, view, {.ui = ~0 } },
{ MODKEY|ShiftMask, XK_0, tag, {.ui = ~0 } },

View File

@ -76,7 +76,7 @@ static const char *brightup[] = { "brightnessctl", "set", "+15", NULL };
static const char *brightdown[] = { "brightnessctl", "set", "15-", NULL };
//#include "shift-tools.c"
#include "shift-tools.c"
#include "movestack.c"
#include "X11/XF86keysym.h"
static const Key keys[] = {
@ -84,10 +84,10 @@ static const Key keys[] = {
{ MODKEY, XK_p, spawn, {.v = dmenucmd } },
{ MODKEY, XK_r, spawn, {.v = rofirun } },
{ MODKEY, XK_Return, spawn, {.v = termcmd } },
//{ MODKEY|ShiftMask, XK_o, shiftview, { .i = +1 } },
//{ MODKEY|ShiftMask, XK_i, shiftview, { .i = -1 } },
//{ MODKEY, XK_Right, shiftview, { .i = +1 } },
//{ MODKEY, XK_Left, shiftview, { .i = -1 } },
{ MODKEY|ShiftMask, XK_o, shiftview, { .i = +1 } },
{ MODKEY|ShiftMask, XK_i, shiftview, { .i = -1 } },
{ MODKEY, XK_Right, shiftview, { .i = +1 } },
{ MODKEY, XK_Left, shiftview, { .i = -1 } },
{ MODKEY, XK_b, togglebar, {0} },
{ MODKEY, XK_j, focusstack, {.i = +1 } },
{ MODKEY, XK_k, focusstack, {.i = -1 } },
@ -104,10 +104,10 @@ static const Key keys[] = {
{ MODKEY, XK_f, setlayout, {.v = &layouts[1]} },
{ MODKEY, XK_m, setlayout, {.v = &layouts[2]} },
{ MODKEY, XK_space, setlayout, {0} },
//{ MODKEY|ShiftMask, XK_Left, shiftboth, { .i = -1 } },
{ MODKEY|ShiftMask, XK_Left, shiftboth, { .i = -1 } },
//{ MODKEY|ControlMask, XK_Left, shiftswaptags, { .i = -1 } },
//{ MODKEY|ControlMask, XK_Right, shiftswaptags, { .i = +1 } },
//{ MODKEY|ShiftMask, XK_Right, shiftboth, { .i = +1 } },
//{ MODKEY|ControlMask, XK_Right, shiftswaptags, { .i = +1 } },
{ MODKEY|ShiftMask, XK_Right, shiftboth, { .i = +1 } },
{ MODKEY|ShiftMask, XK_space, togglefloating, {0} },
{ MODKEY, XK_0, view, {.ui = ~0 } },
{ MODKEY|ShiftMask, XK_0, tag, {.ui = ~0 } },