aboutsummaryrefslogtreecommitdiffstats
path: root/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.h')
-rw-r--r--config.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/config.h b/config.h
index d767858..060efd3 100644
--- a/config.h
+++ b/config.h
@@ -7,6 +7,11 @@
/* appearance */
static const unsigned int borderpx = 2; /* border pixel of windows */
static const unsigned int snap = 32; /* snap pixel */
+static const unsigned int systraypinning = 0; /* 0: sloppy systray follows selected monitor, >0: pin systray to monitor X */
+static const unsigned int systrayonleft = 0; /* 0: systray in the right corner, >0: systray on left of status text */
+static const unsigned int systrayspacing = 2; /* systray spacing */
+static const int systraypinningfailfirst = 1; /* 1: if pinning fails, display systray on the first monitor, False: display systray on the last monitor*/
+static const int showsystray = 1; /* 0 means no systray */
static const int showbar = 1; /* 0 means no bar */
static const int topbar = 1; /* 0 means bottom bar */
static const char *fonts[] = { "monospace:size=10", "NotoColorEmoji:pixelsize=10:antialias=true:autohint=true" };
@@ -27,8 +32,8 @@ typedef struct {
const char *name;
const void *cmd;
} Sp;
-const char *spterm[] = {"st", "-n", "spterm", "-g", "50x20", NULL };
-const char *spcalc[] = {"st", "-n", "spcalc", "-g", "40x10", "-e", "bc", "-l", NULL };
+const char *spterm[] = {"xterm", "-n", "spterm", "-g", "50x20", NULL };
+const char *spcalc[] = {"xterm", "-n", "spcalc", "-g", "40x10", "-e", "bc", "-l", NULL };
static Sp scratchpads[] = {
/* name cmd */
{"spterm", spterm},
@@ -78,7 +83,7 @@ static const Layout layouts[] = {
/* commands */
static const char *eclient[] = { "emacsclient", "-c", NULL };
-static const char *eckill[] = { "pkill", "-USR1", "emacs", NULL };
+//static const char *eckill[] = { "pkill", "-USR1", "emacs", NULL };
static const char *dmenucmd[] = { "dmenu_custom", "-fn", dmenufont, NULL };
static const char *dmenussh[] = { "dmenu_ssh", "-fn", dmenufont, NULL };
static const char *dmemoji[] = { "dmenu_emoji", NULL };