diff options
author | skeletal738 <mr.bones738@gmail.com> | 2020-08-09 15:32:51 +0100 |
---|---|---|
committer | skeletal738 <mr.bones738@gmail.com> | 2020-08-09 15:32:51 +0100 |
commit | dbad3534f330ac0c3019b90556f70fabfe483e00 (patch) | |
tree | 80aebfb000a0909b3bc747065cb9931fa3a701f5 /config.h | |
parent | 484720bbba3e2b175b71dba283c3a84b13e71eea (diff) |
dwmblocks doesn't receive signals on OpenBSD, OpenBSD doesn't implement sigqueue. Got rid of these.
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -278,6 +278,7 @@ static Key keys[] = { /* click can be ClkTagBar, ClkLtSymbol, ClkStatusText, ClkWinTitle, ClkClientWin, or ClkRootWin */ static Button buttons[] = { /* click event mask button function argument */ +#ifndef __OpenBSD__ { ClkWinTitle, 0, Button2, zoom, {0} }, { ClkStatusText, 0, Button1, sigdwmblocks, {.i = 1} }, { ClkStatusText, 0, Button2, sigdwmblocks, {.i = 2} }, @@ -285,6 +286,7 @@ static Button buttons[] = { { ClkStatusText, 0, Button4, sigdwmblocks, {.i = 4} }, { ClkStatusText, 0, Button5, sigdwmblocks, {.i = 5} }, { ClkStatusText, ShiftMask, Button1, sigdwmblocks, {.i = 6} }, +#endif { ClkStatusText, ShiftMask, Button3, spawn, SHCMD("st -e nvim ~/.local/src/dwmblocks/config.h") }, { ClkClientWin, MODKEY, Button1, movemouse, {0} }, { ClkClientWin, MODKEY, Button2, defaultgaps, {0} }, |