diff options
| author | Craig Jennings <craigmartinjennings@gmail.com> | 2021-11-28 13:25:58 -0600 |
|---|---|---|
| committer | Craig Jennings <craigmartinjennings@gmail.com> | 2021-11-28 13:25:58 -0600 |
| commit | 1dd18594b473212db54235ea0a459ec4b2deb8b4 (patch) | |
| tree | da44310dc8227dc9e7752a19d4bfc745784cb3d7 /config.def.h | |
| parent | 7de7baf7f412f36ab1608c2a71d64fe2e656e452 (diff) | |
Add st scratchpad, remove monitor, st is terminal now
Diffstat (limited to 'config.def.h')
| -rw-r--r-- | config.def.h | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/config.def.h b/config.def.h index 44408b9..a53a750 100644 --- a/config.def.h +++ b/config.def.h @@ -37,6 +37,7 @@ const char *spcmd1[] = {"st", "-n", "spaudio", "-g", "120x35", "-e", "pulsemixer const char *spcmd2[] = {"st", "-n", "spnet", "-g", "80x40", "-e", "nmtui", NULL }; const char *spcmd3[] = {"st", "-n", "spmp", "-g", "120x35", "-e", "ncmpcpp", NULL }; const char *spcmd4[] = {"st", "-n", "spbt", "-g", "120x35", "-e", "tremc", NULL }; +const char *spcmd5[] = {"st", "-n", "spterm", "-g", "120x35", "-e", "tmux", NULL }; /* const char *spcmd5[] = {"keepassxc", NULL }; */ static Sp scratchpads[] = { @@ -45,18 +46,20 @@ static Sp scratchpads[] = { {"spnet", spcmd2}, {"spmp", spcmd3}, {"spbt", spcmd4}, + {"spterm", spcmd5}, /* {"keepassxc", spcmd3}, */ }; static const char *const autostart[] = { - "sh", "-c", "monitor", NULL, - "sh", "-c", "while true; do dwmstatus; sleep 20s; done", NULL, - "picom", NULL, + "sh", "-c", "while true; do dwmstatus; sleep 20s; done", + /* "sh", "-c", "monitor", NULL, */ + "picom", NULL, "numlockx", NULL, "mpd", NULL, "unclutter", NULL, "dunst", NULL, "sxhkd", NULL, + "blueman-applet", NULL, "nitrogen", "--restore", NULL, NULL /* terminate */ }; @@ -79,7 +82,8 @@ static const Rule rules[] = { { NULL, "spaudio", NULL, SPTAG(0), 1, 0, 0, -1 }, { NULL, "spnet", NULL, SPTAG(1), 1, 0, 0, -1 }, { NULL, "spmp", NULL, SPTAG(2), 1, 0, 0, -1 }, - { NULL, "spbt", NULL, SPTAG(3), 1, 0, 0, -1 }, + { NULL, "spbt", NULL, SPTAG(3), 1, 0, 0, -1 }, + { NULL, "spterm", NULL, SPTAG(4), 1, 0, 0, -1 }, { NULL, NULL, "Event Tester", 0, 0, 0, 1, -1 }, /* xev */ }; @@ -115,7 +119,7 @@ static const Layout layouts[] = { /* commands */ static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */ static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL }; -static const char *termcmd[] = { "terminator", NULL }; +static const char *termcmd[] = { "st", NULL }; static Key keys[] = { /* modifier key function argument */ @@ -159,7 +163,8 @@ static Key keys[] = { { MODKEY, XK_a, togglescratch, {.ui = 0 } }, { MODKEY, XK_n, togglescratch, {.ui = 1 } }, { MODKEY, XK_slash, togglescratch, {.ui = 2 } }, - { MODKEY, XK_t, togglescratch, {.ui = 3 } }, + { MODKEY, XK_t, togglescratch, {.ui = 3 } }, + { MODKEY, XK_grave, togglescratch, {.ui = 4 } }, TAGKEYS( XK_1, 0) TAGKEYS( XK_2, 1) TAGKEYS( XK_3, 2) @@ -171,8 +176,7 @@ static Key keys[] = { TAGKEYS( XK_9, 8) { MODKEY|ShiftMask, XK_q, quit, {0} }, }; - -/* button definitions */ +/* Button definitions */ /* click can be ClkTagBar, ClkLtSymbol, ClkStatusText, ClkWinTitle, ClkClientWin, or ClkRootWin */ static Button buttons[] = { /* click event mask button function argument */ |
