From 6d00e7d21b4ced049caba814ee576dbfc017ea88 Mon Sep 17 00:00:00 2001 From: ProsperousPotato Date: Sat, 16 Aug 2025 17:44:24 +0100 Subject: rename function quicksearch -> search, add autostart example --- config.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'config.h') diff --git a/config.h b/config.h index 081bff8..3683ca1 100644 --- a/config.h +++ b/config.h @@ -19,6 +19,8 @@ static const char *colors[][4] = { }; static const char *const autostart[] = { +/* program arguments options null terminator */ +// "st", "-c stfloat -e", "htop", NULL, NULL }; @@ -72,7 +74,7 @@ static const Layout layouts[] = { /* commands */ static const char *termcmd[] = { TERMINAL, NULL }; -#include "quicksearch.c" +#include "search.c" #include "togglemouse.c" #include static const Key keys[] = { @@ -130,8 +132,8 @@ static const Key keys[] = { { MODKEY, XK_Print, spawn, SHCMD("maimpick") }, { MODKEY, XK_c, spawn, SHCMD("pgrep xcompmgr && pkill -9 xcompmgr || xcompmgr &") }, - { MODKEY, XK_p, quicksearch, {.i = 0} }, - { MODKEY|ShiftMask, XK_p, quicksearch, {.i = 1} }, + { MODKEY, XK_p, search, {.i = 0} }, + { MODKEY|ShiftMask, XK_p, search, {.i = 1} }, { MODKEY, XK_b, togglemouse, {0} }, }; -- cgit v1.2.3