From 57a742d82714b4a318cd37efee75469f381f6837 Mon Sep 17 00:00:00 2001 From: koekeishiya Date: Sun, 1 Mar 2020 10:56:38 +0100 Subject: [PATCH] #173 support exclusion for command arguments of type REGEX --- CHANGELOG.md | 1 + doc/yabai.1 | 36 +++++++++++----------- doc/yabai.asciidoc | 32 ++++++++++---------- src/event.c | 15 +++++++--- src/event.h | 2 ++ src/message.c | 71 +++++++++++++++++++++++++++++++++++++++----- src/rule.h | 2 ++ src/window_manager.c | 7 +++-- 8 files changed, 118 insertions(+), 48 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8f3d4905..7d747a10 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm ### Changed - Properly return focus to the active window on the current space when a window is moved through a rule [#418](https://github.com/koekeishiya/yabai/issues/418) - Prevent space operations (create, destroy, focus, swap, move and send to display) from applying while mission-control is active or the display is animating [#417](https://github.com/koekeishiya/yabai/issues/417) +- Support exclusion for command arguments of type REGEX [#173](https://github.com/koekeishiya/yabai/issues/173) ## [2.3.0] - 2020-02-14 ### Added diff --git a/doc/yabai.1 b/doc/yabai.1 index bbc4c23f..7bb069ad 100644 --- a/doc/yabai.1 +++ b/doc/yabai.1 @@ -2,12 +2,12 @@ .\" Title: yabai .\" Author: [see the "AUTHOR(S)" section] .\" Generator: Asciidoctor 2.0.10 -.\" Date: 2020-02-13 +.\" Date: 2020-03-01 .\" Manual: Yabai Manual .\" Source: Yabai .\" Language: English .\" -.TH "YABAI" "1" "2020-02-13" "Yabai" "Yabai Manual" +.TH "YABAI" "1" "2020-03-01" "Yabai" "Yabai Manual" .ie \n(.g .ds Aq \(aq .el .ds Aq ' .ss \n[.ss] 0 @@ -494,12 +494,12 @@ Remove an existing rule with the given label. Label used to identify the rule with a unique name .RE .sp -\fBapp=\fI\fP\fP +\fBapp[!]=\fI\fP\fP .RS 4 Name of application. .RE .sp -\fBtitle=\fI\fP\fP +\fBtitle[!]=\fI\fP\fP .RS 4 Title of window. .RE @@ -556,7 +556,7 @@ A signal is a simple way for the user to react to some event that has been proce yabai \-m signal \fI\fP .SS "COMMAND" .sp -\fB\-\-add event=\fI\fP action=\fI\fP [label=\fI