From 92af7f77d5c7cfd6ba93bb4f4417082d1cb10c25 Mon Sep 17 00:00:00 2001 From: Jason Ross Date: Tue, 9 Jun 2026 15:34:02 -0500 Subject: [PATCH] bootstrap script --- setup_automations.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 setup_automations.sh diff --git a/setup_automations.sh b/setup_automations.sh new file mode 100644 index 0000000..0fa55e3 --- /dev/null +++ b/setup_automations.sh @@ -0,0 +1,13 @@ +#! /bin/bash +if [ ! -e "$HOME/Library/LaunchAgents" ]; then + mkdir ~/Library/LaunchAgents +fi +cd "$HOME/Library/LaunchAgents" || exit 1 +curl -LO https://github.com/JMR-dev/mac_util_scripts/raw/refs/heads/main/LaunchAgents/com.user.homebrew-update.plist +curl -LO https://github.com/JMR-dev/mac_util_scripts/raw/refs/heads/main/LaunchAgents/com.user.restart-browsers.plist + +# Install Commands +launchctl bootstrap gui/"$(id -u)" com.user.homebrew-update.plist +launchctl bootstrap gui/"$(id -u)" com.user.restart-browsers.plist + +echo 'Automation agents installed'