summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFreeArtMan <dos21h@gmail.com>2016-05-21 21:19:30 +0100
committerFreeArtMan <dos21h@gmail.com>2016-05-21 21:19:30 +0100
commited6fc657544dbdbc3108cf7959b2940a74b71caf (patch)
treeb0c4dda2e819f153cc16ec68f04ddc912d4f660e
parentad0d8b487000112bfc0b02eac5b27328266d6ef5 (diff)
downloaddwm-fancy-master.tar.gz
dwm-fancy-master.zip
Small style fixes. Changed default terminal to xtermHEADmaster
-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 */