From 5d9f741b2fbb3bc438cb11bf0e308d3f4dd3471b Mon Sep 17 00:00:00 2001 From: Ben Orenstein Date: Thu, 26 Oct 2023 14:13:39 -0400 Subject: [PATCH] hooks -> triggers --- triggers/hide-messages/README.md | 4 ++-- triggers/hide-messages/screen-share-started | 2 +- triggers/hide-messages/screen-share-stop | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/triggers/hide-messages/README.md b/triggers/hide-messages/README.md index fabdf96..b8eefce 100644 --- a/triggers/hide-messages/README.md +++ b/triggers/hide-messages/README.md @@ -1,7 +1,7 @@ # Hide Messages -This hook will hide the Messages.app automatically when you go to share your display. +This trigger will hide the Messages.app automatically when you share your display. This can be handy to potentially save you from an embarassing moment. -When being executed for the first time, `System Events` will prompt for permissions. +If you're executing this trigger for the first time, `System Events` may prompt you for permission. diff --git a/triggers/hide-messages/screen-share-started b/triggers/hide-messages/screen-share-started index 4982ff6..bade9c1 100755 --- a/triggers/hide-messages/screen-share-started +++ b/triggers/hide-messages/screen-share-started @@ -1,6 +1,6 @@ #!/usr/bin/env bash -if [ -n "$TUPLE_HOOK_IS_SELF" ]; then +if [ -n "$TUPLE_TRIGGER_IS_SELF" ]; then osascript <