diff options
| author | Craig Jennings <craigmartinjennings@gmail.com> | 2021-12-18 14:35:17 -0600 |
|---|---|---|
| committer | Craig Jennings <craigmartinjennings@gmail.com> | 2021-12-18 14:35:17 -0600 |
| commit | 309f08a80bba1789cc153f6880c768ddf633b288 (patch) | |
| tree | c438f0f07327e620ca45e6c88b1ee509fea94e43 /config.def.h | |
| parent | 1dd18594b473212db54235ea0a459ec4b2deb8b4 (diff) | |
Added systray patch
Diffstat (limited to 'config.def.h')
| -rw-r--r-- | config.def.h | 28 |
1 files changed, 16 insertions, 12 deletions
diff --git a/config.def.h b/config.def.h index a53a750..7ed8e44 100644 --- a/config.def.h +++ b/config.def.h @@ -4,6 +4,11 @@ static const unsigned int borderpx = 3; /* border pixel of windows */ static const int gappx = 10; /* gaps between 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 swallowfloating = 1; /* 1 means swallow floating windows by default */ static const int showbar = 1; /* 0 means no bar */ static const int topbar = 1; /* 0 means bottom bar */ @@ -51,17 +56,17 @@ static Sp scratchpads[] = { }; static const char *const autostart[] = { - "sh", "-c", "while true; do dwmstatus; sleep 20s; done", - /* "sh", "-c", "monitor", NULL, */ - "picom", NULL, - "numlockx", NULL, - "mpd", NULL, - "unclutter", NULL, - "dunst", NULL, - "sxhkd", NULL, - "blueman-applet", NULL, - "nitrogen", "--restore", NULL, - NULL /* terminate */ + /* "picom", NULL, */ + "numlockx", NULL, + "mpd", NULL, + "unclutter", NULL, + "dunst", NULL, + "sxhkd", NULL, + "blueman-applet", NULL, + "nitrogen", "--restore", NULL, + "sh", "-c", "while true; do dwmstatus; sleep 20s; done", + "sh", "-c", "monitor", NULL, + NULL /* terminate */ }; /* tagging */ @@ -192,4 +197,3 @@ static Button buttons[] = { { ClkTagBar, MODKEY, Button1, tag, {0} }, { ClkTagBar, MODKEY, Button3, toggletag, {0} }, }; - |
