Reformat file
This commit is contained in:
parent
3b515d7d58
commit
5b84371519
20
config.h
20
config.h
@ -32,7 +32,7 @@ typedef struct {
|
||||
const char *spcmd1[] = {"alacritty", "-t", "spterm", NULL };
|
||||
const char *spcmd2[] = {"rofi", "-show", "calc", NULL };
|
||||
static Sp scratchpads[] = {
|
||||
/* name cmd */
|
||||
/* name, cmd */
|
||||
{"spterm", spcmd1},
|
||||
{"spcalc", spcmd2},
|
||||
};
|
||||
@ -50,7 +50,7 @@ static const Rule rules[] = {
|
||||
{ "St", NULL, NULL, 0, 0, 1, 0, -1 },
|
||||
{ NULL, NULL, "Event Tester", 0, 0, 0, 1, -1 },
|
||||
{ NULL, NULL, "spterm", SPTAG(0), 1, 1, 0, -1 },
|
||||
{ NULL, NULL, NULL, SPTAG(1), 1, 1, 0, -1 },
|
||||
{ NULL, NULL, "spcalc", SPTAG(1), 1, 1, 0, -1 },
|
||||
{ "jetbrains-pycharm-ce", NULL, NULL, 0, 1, 0, 1, -1 },
|
||||
{ "mpv", NULL, NULL, 0, 1, 0, 1, -1 },
|
||||
};
|
||||
@ -62,17 +62,17 @@ static const int resizehints = 1; /* 1 means respect size hints in tiled resi
|
||||
#define FORCE_VSPLIT 1 /* nrowgrid layout: force two clients to always split vertically */
|
||||
#include "vanitygaps.c"
|
||||
static const Layout layouts[] = {
|
||||
/* symbol arrange function */
|
||||
{ "[]=", tile }, /* Default: Master on left, slaves on right */
|
||||
{ "TTT", bstack }, /* Master on top, slaves on bottom */
|
||||
/* symbol, arrange, function */
|
||||
{ "[]=", tile }, /* Default: Master on left; slaves on right */
|
||||
{ "TTT", bstack }, /* Master on top; slaves on bottom */
|
||||
|
||||
{ "[@]", spiral }, /* Fibonacci spiral */
|
||||
{ "[\\]", dwindle }, /* Decreasing in size right and leftward */
|
||||
|
||||
{ "H[]", deck }, /* Master on left, slaves in monocle-like mode on right */
|
||||
{ "H[]", deck }, /* Master on left; slaves in monocle-like mode on right */
|
||||
{ "[M]", monocle }, /* All windows on top of eachother */
|
||||
|
||||
{ "|M|", centeredmaster }, /* Master in middle, slaves on sides */
|
||||
{ "|M|", centeredmaster }, /* Master in middle; slaves on sides */
|
||||
{ ">M>", centeredfloatingmaster }, /* Same but master floats */
|
||||
|
||||
{ "><>", NULL }, /* no layout function means floating behavior */
|
||||
@ -106,9 +106,9 @@ static const char *termcmd[] = { "alacritty", NULL };
|
||||
#include <X11/XF86keysym.h>
|
||||
#include "shiftview.c"
|
||||
static Key keys[] = {
|
||||
/* modifier key function argument */
|
||||
STACKKEYS(MODKEY, focus)
|
||||
STACKKEYS(MODKEY|ShiftMask, push)
|
||||
/* modifier, key, function, argument */
|
||||
/* { MODKEY|ShiftMask, XK_Escape, spawn, SHCMD("") }, */
|
||||
{ MODKEY, XK_u, spawn, SHCMD("dmenuunicode") },
|
||||
/* { MODKEY|ShiftMask, XK_grave, togglescratch, SHCMD("") }, */
|
||||
@ -174,7 +174,7 @@ static Key keys[] = {
|
||||
{ MODKEY|ShiftMask, XK_semicolon, shifttag, { .i = 1 } },
|
||||
{ MODKEY, XK_apostrophe, togglescratch, {.ui = 1} },
|
||||
/* { MODKEY|ShiftMask, XK_apostrophe, spawn, SHCMD("") }, */
|
||||
{ MODKEY, XK_Return, spawn, {.v = termcmd } },
|
||||
{ MODKEY, XK_Return, spawn, {.v = termcmd} },
|
||||
{ MODKEY|ShiftMask, XK_Return, togglescratch, {.ui = 0} },
|
||||
|
||||
{ MODKEY, XK_z, incrgaps, {.i = +3 } },
|
||||
@ -182,7 +182,7 @@ static Key keys[] = {
|
||||
{ MODKEY, XK_x, incrgaps, {.i = -3 } },
|
||||
{ MODKEY|ShiftMask, XK_x, spawn, SHCMD("prompt 'Do you want to shutdown?' 'shutdown -h now'") },
|
||||
/* { MODKEY, XK_c, spawn, SHCMD("") }, */
|
||||
/* { MODKEY|ShiftMask, XK_c, spawn, SHCMD("") }, */
|
||||
{ MODKEY|ShiftMask, XK_c, spawn, {.v = spcmd2} },
|
||||
{ MODKEY, XK_b, togglebar, {0} },
|
||||
/* { MODKEY|ShiftMask, XK_b, spawn, SHCMD("") }, */
|
||||
{ MODKEY, XK_n, spawn, SHCMD("alacritty -e nvim -c VimwikiIndex") },
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user