From 8f7c934cef0f223e5fc0d06b2f0cba386b5b8fd8 Mon Sep 17 00:00:00 2001 From: okan Date: Mon, 25 Feb 2019 16:40:49 +0000 Subject: Add 'group-close-[n]' action to close all windows within specified group. heavily based on a diff from Nam Nguyen. --- conf.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'conf.c') diff --git a/conf.c b/conf.c index dde35ab..2d3f931 100644 --- a/conf.c +++ b/conf.c @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: conf.c,v 1.244 2019/02/22 19:40:33 okan Exp $ + * $OpenBSD: conf.c,v 1.245 2019/02/25 16:40:49 okan Exp $ */ #include @@ -143,6 +143,15 @@ static const struct { { FUNC_SC(group-only-7, group_only, 7) }, { FUNC_SC(group-only-8, group_only, 8) }, { FUNC_SC(group-only-9, group_only, 9) }, + { FUNC_SC(group-close-1, group_close, 1) }, + { FUNC_SC(group-close-2, group_close, 2) }, + { FUNC_SC(group-close-3, group_close, 3) }, + { FUNC_SC(group-close-4, group_close, 4) }, + { FUNC_SC(group-close-5, group_close, 5) }, + { FUNC_SC(group-close-6, group_close, 6) }, + { FUNC_SC(group-close-7, group_close, 7) }, + { FUNC_SC(group-close-8, group_close, 8) }, + { FUNC_SC(group-close-9, group_close, 9) }, { FUNC_SC(pointer-move-up, ptrmove, (CWM_UP)) }, { FUNC_SC(pointer-move-down, ptrmove, (CWM_DOWN)) }, -- cgit v1.2.3-2-gb3c3