aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorMitchell Riedstra <mitch@riedstra.dev>2023-01-31 09:11:21 -0500
committerMitchell Riedstra <mitch@riedstra.dev>2023-01-31 09:11:21 -0500
commit8d1417b53842b9667f2a6b049cf33dabb47c3f4e (patch)
tree33c879de45c0afe7caf96139fe174c26ee5cebaf /config.def.h
parent486c7d89afb1fa49e792787f358ca40910ae17fe (diff)
downloaddwm-8d1417b53842b9667f2a6b049cf33dabb47c3f4e.tar.gz
dwm-8d1417b53842b9667f2a6b049cf33dabb47c3f4e.tar.xz
Set DMENU_FLAGS in the environment.
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/config.def.h b/config.def.h
index 418cdbe..9f57f50 100644
--- a/config.def.h
+++ b/config.def.h
@@ -1,6 +1,7 @@
/* See LICENSE file for copyright and license details. */
/* appearance */
+#define DMENU_FLAGS "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4
static const unsigned int borderpx = 1; /* border pixel of windows */
static const unsigned int snap = 32; /* snap pixel */
static const int showbar = 1; /* 0 means no bar */
@@ -65,7 +66,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 *dmenucmd[] = { "dmenu_run", DMENU_FLAGS, NULL };
static const char *termcmd[] = { "st", NULL };
static const Key keys[] = {