diff options
author | FreeArtMan <dos21h@gmail.com> | 2016-05-21 21:19:30 +0100 |
---|---|---|
committer | FreeArtMan <dos21h@gmail.com> | 2016-05-21 21:19:30 +0100 |
commit | ed6fc657544dbdbc3108cf7959b2940a74b71caf (patch) | |
tree | b0c4dda2e819f153cc16ec68f04ddc912d4f660e | |
parent | ad0d8b487000112bfc0b02eac5b27328266d6ef5 (diff) | |
download | dwm-fancy-ed6fc657544dbdbc3108cf7959b2940a74b71caf.tar.gz dwm-fancy-ed6fc657544dbdbc3108cf7959b2940a74b71caf.zip |
-rw-r--r-- | config.h | 4 | ||||
-rw-r--r-- | dwm.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -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 */ @@ -190,11 +190,13 @@ typedef struct { } Rule; /******************************************************************************/ +#ifdef CONFIG_DWM_SYSTEMTRAY typedef struct Systray Systray; struct Systray { Window win; Client *icons; }; +#endif /******************************************************************************/ /* function declarations */ |