From e82696505c1b692248d8670747d5c0adb463a281 Mon Sep 17 00:00:00 2001 From: Mateja Date: Tue, 8 Jun 2021 18:27:16 +0200 Subject: Use rofi instead of dmenu. --- config.def.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config.def.h b/config.def.h index 0861078..7eb8ad0 100644 --- a/config.def.h +++ b/config.def.h @@ -64,6 +64,7 @@ static const Layout layouts[] = { static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */ static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", normbgcolor, "-nf", normfgcolor, "-sb", selbordercolor, "-sf", selfgcolor, NULL }; static const char *termcmd[] = { "st", "-e", "tmux", NULL }; +static const char *roficmd[] = { "rofi", "-show", "run", NULL }; /* * Xresources preferences to load at startup @@ -113,7 +114,7 @@ static Key keys[] = { TAGKEYS( XK_p, 7) { MODKEY, XK_Return, spawn, {.v = termcmd } }, - { MODKEY, XK_r, spawn, {.v = dmenucmd } }, + { MODKEY, XK_r, spawn, {.v = roficmd } }, { MODKEY, XK_w, killclient, {0} }, { MODKEY, XK_j, focusstack, {.i = +1 } }, -- cgit v1.2.3