diff options
author | Bryson Steck <brysonsteck@protonmail.com> | 2022-11-13 18:17:50 -0700 |
---|---|---|
committer | Bryson Steck <brysonsteck@protonmail.com> | 2022-11-13 18:17:50 -0700 |
commit | c5738de01d3c8adccaf87842cd6efceafd795d98 (patch) | |
tree | a4e6eaf064b3881e62e66d16f63aac3adce63896 /config.def.h | |
parent | 7516b03d7d3c7844ebdab69cf731d59ea2b3c84d (diff) | |
download | dwm-c5738de01d3c8adccaf87842cd6efceafd795d98.tar dwm-c5738de01d3c8adccaf87842cd6efceafd795d98.tar.gz dwm-c5738de01d3c8adccaf87842cd6efceafd795d98.tar.bz2 |
sticky patches and exit script
Diffstat (limited to 'config.def.h')
-rw-r--r-- | config.def.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h index 773262f..54dff0f 100644 --- a/config.def.h +++ b/config.def.h @@ -18,6 +18,8 @@ static const char *colors[][3] = { [SchemeNorm] = { col_gray3, col_gray1, col_gray2 }, [SchemeSel] = { col_gray4, col_cyan, col_cyan }, }; +static const XPoint stickyicon[] = { {0,0}, {4,0}, {4,8}, {2,6}, {0,8}, {0,0} }; /* represents the icon as an array of vertices */ +static const XPoint stickyiconbb = {4,8}; /* defines the bottom right corner of the polygon's bounding box (speeds up scaling) */ /* tagging */ static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" }; @@ -84,6 +86,7 @@ static Key keys[] = { { MODKEY, XK_o, setlayout, {.v = &layouts[4]} }, { MODKEY, XK_space, setlayout, {0} }, { MODKEY|ShiftMask, XK_space, togglefloating, {0} }, + { MODKEY, XK_s, togglesticky, {0} }, { MODKEY, XK_0, view, {.ui = ~0 } }, { MODKEY|ShiftMask, XK_0, tag, {.ui = ~0 } }, { MODKEY, XK_comma, focusmon, {.i = -1 } }, |