From e9209fa34f53181f25ea34deec14fdec360cf18c Mon Sep 17 00:00:00 2001 From: meftimes Date: Tue, 25 Jun 2024 22:40:36 -0400 Subject: [PATCH] configure scratchpads and calc --- config.def.h | 11 ++++------- dwm | Bin 72832 -> 72840 bytes dwm.o | Bin 63248 -> 63128 bytes 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/config.def.h b/config.def.h index d2ccad9..bc6f57a 100644 --- a/config.def.h +++ b/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) diff --git a/dwm b/dwm index d6c562d895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