From ed6fc657544dbdbc3108cf7959b2940a74b71caf Mon Sep 17 00:00:00 2001 From: FreeArtMan Date: Sat, 21 May 2016 21:19:30 +0100 Subject: Small style fixes. Changed default terminal to xterm --- config.h | 4 +++- dwm.c | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) 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 */ -- cgit v1.2.3