diff options
author | Joe <rrbo@proton.me> | 2023-06-19 10:04:10 +0200 |
---|---|---|
committer | Joe <rrbo@proton.me> | 2023-06-19 10:04:10 +0200 |
commit | d4206c96169dd9ee2d66a3523020dcf8f2b0a59e (patch) | |
tree | 540fe1a968589911919c32264d1620fd284482da /config.def.h | |
parent | up (diff) | |
download | dwm-d4206c96169dd9ee2d66a3523020dcf8f2b0a59e.tar.gz dwm-d4206c96169dd9ee2d66a3523020dcf8f2b0a59e.tar.bz2 dwm-d4206c96169dd9ee2d66a3523020dcf8f2b0a59e.tar.xz dwm-d4206c96169dd9ee2d66a3523020dcf8f2b0a59e.tar.zst dwm-d4206c96169dd9ee2d66a3523020dcf8f2b0a59e.zip |
up
Diffstat (limited to 'config.def.h')
-rw-r--r-- | config.def.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/config.def.h b/config.def.h index ca67e78..cfe9aa1 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 unsigned 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 showbar = 1; /* 0 means no bar */ static const int topbar = 1; /* 0 means bottom bar */ static const int user_bh = 22; /* 0 means that dwm will calculate bar height, >= 1 means dwm will user_bh as bar height */ @@ -248,8 +253,8 @@ static Key keys[] = { /* click can be ClkTagBar, ClkLtSymbol, ClkStatusText, ClkWinTitle, ClkClientWin, or ClkRootWin */ static Button buttons[] = { /* click event mask button function argument */ - { ClkLtSymbol, 0, Button1, setlayout, {0} }, - { ClkLtSymbol, 0, Button3, setlayout, {.v = &layouts[2]} }, + { ClkTagBar, MODKEY, Button1, tag, {0} }, + { ClkTagBar, MODKEY, Button3, toggletag, {0} }, { ClkWinTitle, 0, Button2, zoom, {0} }, { ClkStatusText, 0, Button2, spawn, {.v = term_cmd } }, { ClkClientWin, MODKEY, Button1, movemouse, {0} }, |