We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
I just noticed that rules like:
JB_Apps='^(PyCharm|PhpStorm)$' yabai -m rule --add app="${JB_Apps}" title=".*\[.*\].*" manage=on display=$CENTRAL_MONITOR # Generic main windows
produces an incorrect JSON and jq fails with:
jq
yabai -m rule --list | jq jq: parse error: Invalid escape at line 24, column 21
{ "index":1, "label":"", "app":"^(PyCharm|PhpStorm)$", "title":".*\[.*\].*", "role":"", "subrole":"", "display":1, "space":0, "follow_space":false, "opacity":0.0000, "manage":true, "sticky":null, "mouse_follows_focus":null, "sub-layer":"", "native-fullscreen":null, "grid":"0:0:0:0:0:0", "one-shot":false, "flags":"0x00000003" }
The text was updated successfully, but these errors were encountered:
#2205 properly escape rule app and title properties
e7a5625
4132a4d
#2205 properly escape rule role and subrole properties
9fd250b
No branches or pull requests
I just noticed that rules like:
produces an incorrect JSON and
jq
fails with:The text was updated successfully, but these errors were encountered: