summary refs log tree commit diff
path: root/conf.c
diff options
context:
space:
mode:
authorokan <okan>2019-02-25 16:40:49 +0000
committerokan <okan>2019-02-25 16:40:49 +0000
commita5ba9aa9da9567244d1c3d1d8ccacfdb51b044de (patch)
treec79190375cd8f32a840bdc7978dfea10a0c65959 /conf.c
parent43cd19378ed244f9bd9f86e51bca0f3905055bdf (diff)
downloadcwm-a5ba9aa9da9567244d1c3d1d8ccacfdb51b044de.tar.gz
cwm-a5ba9aa9da9567244d1c3d1d8ccacfdb51b044de.tar.xz
cwm-a5ba9aa9da9567244d1c3d1d8ccacfdb51b044de.zip
Add 'group-close-[n]' action to close all windows within specified group.
heavily based on a diff from Nam Nguyen.
Diffstat (limited to 'conf.c')
-rw-r--r--conf.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/conf.c b/conf.c
index 5d75bac..e54f96a 100644
--- a/conf.c
+++ b/conf.c
@@ -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)) },