Skip to content

Commit

Permalink
#2123 rework window rules
Browse files Browse the repository at this point in the history
  • Loading branch information
koekeishiya committed Feb 27, 2024
1 parent b7d75d4 commit 69836e6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions doc/yabai.1
Original file line number Diff line number Diff line change
Expand Up @@ -711,6 +711,8 @@ If no argument is given, all existing rules will apply.
If an index or label is given, that particular rule will apply.
.br
Arguments can also be provided directly, just like in the \fB\-\-add\fP command.
.br
Existing \f(CR\-\-one\-shot\fP rules that have yet to apply will be ignored by this command.
.RE
.sp
\fB\-\-remove \fI<RULE_SEL>\fP\fP
Expand Down
3 changes: 2 additions & 1 deletion doc/yabai.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,8 @@ COMMAND
Apply a rule to currently known windows. +
If no argument is given, all existing rules will apply. +
If an index or label is given, that particular rule will apply. +
Arguments can also be provided directly, just like in the *--add* command.
Arguments can also be provided directly, just like in the *--add* command. +
Existing `--one-shot` rules that have yet to apply will be ignored by this command.

*--remove '<RULE_SEL>'*::
Remove an existing rule with the given index or label.
Expand Down

0 comments on commit 69836e6

Please sign in to comment.