aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config.h4
-rw-r--r--dwm.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/config.h b/config.h
index ecd3c6d..588468c 100644
--- a/config.h
+++ b/config.h
@@ -17,10 +17,12 @@ static const int showbar = 1; /* 0 means no bar */
static const int topbar = 1; /* 0 means bottom bar */
/******************************************************************************/
+#ifdef CONFIG_DWM_SYSTEMTRAY
static const unsigned int systraypinning = 0; /* 0: sloppy systray follows selected monitor, >0: pin systray to monitor X */
static const unsigned int systrayspacing = 2; /* systray spacing */
static const int systraypinningfailfirst = 1; /* 1: if pinning fails, display systray on the first monitor, 0: display systray on the last monitor*/
static const int showsystray = 1; /* 0 means no systray */
+#endif
/******************************************************************************/
/* tagging */
@@ -62,7 +64,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", normbgcolor, "-nf", normfgcolor, "-sb", selbgcolor, "-sf", selfgcolor, NULL };
-static const char *termcmd[] = { "st", NULL };
+static const char *termcmd[] = { "xterm", NULL };
static Key keys[] = {
/* modifier key function argument */
diff --git a/dwm.c b/dwm.c
index fc87797..0975683 100644
--- a/dwm.c
+++ b/dwm.c
@@ -190,11 +190,13 @@ typedef struct {
} Rule;
/******************************************************************************/
+#ifdef CONFIG_DWM_SYSTEMTRAY
typedef struct Systray Systray;
struct Systray {
Window win;
Client *icons;
};
+#endif
/******************************************************************************/
/* function declarations */