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

Currently doesn't work if there are other apps with the string 'amm' in them #2

Open
TryTryAgain opened this issue Dec 14, 2023 · 1 comment

Comments

@TryTryAgain
Copy link

TryTryAgain commented Dec 14, 2023

I added #1 which fixes this, it simply adds the regex ^amm$ pgrep ^{app_name}$ to force start and end around amm string so pgrep doesn't return for other apps that contain that string. I came back to a screensaver and was confused. Then I realized it was returning other processes for other apps even though amm.app had again unfortunately quit due to whatever Sonoma bug. Thanks for the little script/idea. Glad I could contribute a little to make it more robust for those edge cases like the one I came across.

@TryTryAgain
Copy link
Author

TryTryAgain commented Dec 14, 2023

whoops, should have tested first. Actually need to add that somewhere else of course. Pushing a new fix, sorry. EDIT: and then I accidentally closed the PR by deleting my fork.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant