configure scratchpads and calc
parent
2e4ef8e69a
commit
e9209fa34f
11
config.def.h
11
config.def.h
|
@ -25,13 +25,11 @@ typedef struct {
|
|||
const void *cmd;
|
||||
} Sp;
|
||||
const char *spcmd1[] = {"st", "-n", "spterm", "-g", "120x34", NULL };
|
||||
const char *spcmd2[] = {"st", "-n", "spfm", "-g", "144x41", "-e", "ranger", NULL };
|
||||
const char *spcmd3[] = {"keepassxc", NULL };
|
||||
const char *spcmd2[] = {"st", "-n", "spcalc", "-f", "monospace:size=16", "-g", "50x20", "-e", "bc", "-lq", NULL };
|
||||
static Sp scratchpads[] = {
|
||||
/* name cmd */
|
||||
{"spterm", spcmd1},
|
||||
{"spranger", spcmd2},
|
||||
{"keepassxc", spcmd3},
|
||||
{"spcalc", spcmd2},
|
||||
};
|
||||
|
||||
/* tagging */
|
||||
|
@ -45,8 +43,7 @@ static const Rule rules[] = {
|
|||
{ "Gimp", NULL, NULL, 0, 1, -1 },
|
||||
{ "Firefox", NULL, NULL, 1 << 8, 0, -1 },
|
||||
{ NULL, "spterm", NULL, SPTAG(0), 1, -1 },
|
||||
{ NULL, "spfm", NULL, SPTAG(1), 1, -1 },
|
||||
{ NULL, "keepassxc", NULL, SPTAG(2), 0, -1 },
|
||||
{ NULL, "spcalc", NULL, SPTAG(1), 1, -1 },
|
||||
};
|
||||
|
||||
/* layout(s) */
|
||||
|
@ -128,7 +125,7 @@ static const Key keys[] = {
|
|||
{ MODKEY|ShiftMask, XK_comma, tagmon, {.i = -1 } },
|
||||
{ MODKEY|ShiftMask, XK_period, tagmon, {.i = +1 } },
|
||||
{ MODKEY, XK_y, togglescratch, {.ui = 0 } },
|
||||
{ MODKEY, XK_u, togglescratch, {.ui = 1 } },
|
||||
{ MODKEY, XK_apostrophe, togglescratch, {.ui = 1 } },
|
||||
{ MODKEY, XK_x, togglescratch, {.ui = 2 } },
|
||||
TAGKEYS( XK_1, 0)
|
||||
TAGKEYS( XK_2, 1)
|
||||
|
|
Loading…
Reference in New Issue