Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Grep Count Fix #178

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions osx-config.hjson
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@
[
{
type: "exact match"
command: "ps ax | grep -c '/Applications/System Preferences.app/Contents/MacOS/System Preferences'"
command_pass: "2" //a value of "3" means it's running -- the other 2 are `/bin/sh` and the `grep` command.
command: "ps ax | grep -c '/Applications/System Preferences.app/Contents/MacOS/[S]ystem Preferences'"
command_pass: "0" //a value of "1" or higher means it's running
case_sensitive: "false"
}
]
Expand Down Expand Up @@ -1249,8 +1249,8 @@
[
{
type: "exact match"
command: "ps ax | grep -c '/Applications/Safari.app/Contents/MacOS/Safari'"
command_pass: "2" //a value of "3" means it's running -- the other 2 are `/bin/sh` and the `grep` command.
command: "ps ax | grep -c '/Applications/Safari.app/Contents/MacOS/[S]afari'"
command_pass: "0" //a value of "1" means it's running
case_sensitive: "false"
}
]
Expand Down Expand Up @@ -1784,8 +1784,8 @@
[
{
type: "exact match"
command: "ps ax | grep -c '/Applications/Mail.app/Contents/MacOS/Mail'"
command_pass: 2 //a value of "3" means it's running -- the other 2 are `/bin/sh` and the `grep` command.
command: "ps ax | grep -c '/Applications/Mail.app/Contents/MacOS/[M]ail'"
command_pass: 0 //a value of "1" means it's running
case_sensitive: false
}
]
Expand Down Expand Up @@ -2021,8 +2021,8 @@
},
{
type: "exact match"
command: "ps ax | grep -c 'Google Chrome.app'"
command_pass: 2 //a value of "3" or higher means it's running -- the first 2 are `/bin/sh` and the `grep` command.
command: "ps ax | grep -c '[G]oogle Chrome.app'"
command_pass: 0 //a value of "1" or higher means it's running
case_sensitive: false
}
]
Expand Down
2 changes: 1 addition & 1 deletion osx-config.json

Large diffs are not rendered by default.