diff options
author | Mateja <mail@matejamaric.com> | 2021-06-08 18:27:16 +0200 |
---|---|---|
committer | Mateja <mail@matejamaric.com> | 2021-06-08 18:27:16 +0200 |
commit | e82696505c1b692248d8670747d5c0adb463a281 (patch) | |
tree | c15199ec473efb0bd61d3ba5ac020bedce827f0d | |
parent | f212ab45dd670b0ed14b64bd0faadc58bf1daf67 (diff) | |
download | dwm-e82696505c1b692248d8670747d5c0adb463a281.tar.gz dwm-e82696505c1b692248d8670747d5c0adb463a281.zip |
Use rofi instead of dmenu.
-rw-r--r-- | config.def.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 } }, |