From 5c1273c430b025f8ceeca05c05fd28cfb25c98d4 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sun, 6 Mar 2022 17:40:49 -0600 Subject: Autostart and convenience changes - remove picom, monitor, and nitrogen from autostart as I'm managing them in .xinitrc - Mod Shift Return uses terminal scratchpad (w/ tmux) instead of full termcmd - don't launch bluetooth scratchpad --- config.def.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'config.def.h') diff --git a/config.def.h b/config.def.h index 4256443..5de450b 100644 --- a/config.def.h +++ b/config.def.h @@ -56,9 +56,7 @@ static Sp scratchpads[] = { }; static const char *const autostart[] = { - /* "picom", NULL, */ "sh", "-c", "while true; do dwmstatus; sleep 20s; done", NULL, - "sh", "-c", "~/.local/bin/monitor", NULL, "numlockx", NULL, "mpd", NULL, "unclutter", NULL, @@ -67,7 +65,6 @@ static const char *const autostart[] = { "blueman-applet", NULL, "nm-applet",NULL, "pa-applet",NULL, - "nitrogen", "--restore", NULL, NULL /* terminate */ }; @@ -131,7 +128,8 @@ static const char *termcmd[] = { "st", NULL }; static Key keys[] = { /* modifier key function argument */ { MODKEY, XK_p, spawn, {.v = dmenucmd } }, - { MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } }, + /* { MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } }, */ + { MODKEY|ShiftMask, XK_Return, togglescratch, {.ui = 4 } }, { MODKEY, XK_b, togglebar, {0} }, { MODKEY, XK_j, focusstack, {.i = +1 } }, { MODKEY, XK_k, focusstack, {.i = -1 } }, @@ -170,8 +168,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_grave, togglescratch, {.ui = 4 } }, + { MODKEY, XK_t, togglescratch, {.ui = 3 } }, + /* { MODKEY, XK_b, togglescratch, {.ui = 4 } }, */ TAGKEYS( XK_1, 0) TAGKEYS( XK_2, 1) TAGKEYS( XK_3, 2) -- cgit v1.2.3