Track one-time setup with completion markers

This commit is contained in:
David Heinemeier Hansson committed 2026-07-16 21:53:15 -07:00
1 parent 7b824b6e1b
commit e82df1d4d0
9 files changed
+162 -18

No files matched your search

+7 -8
View File
@@ -2,11 +2,10 @@
set -e
(
if [[ -n $(omarchy-notification-send -u critical -g  "Install Dictation with Voxtype" "Click to install voice dictation for Omarchy." -a) ]]; then
omarchy-launch-floating-terminal-with-presentation omarchy-voxtype-install
fi
) >/dev/null 2>&1 &
# Remove this hook after scheduling the background notification action.
rm -f "$0"
if omarchy-done ensure voxtype-install-invitation; then
(
if [[ -n $(omarchy-notification-send -u critical -g  "Install Dictation with Voxtype" "Click to install voice dictation for Omarchy." -a) ]]; then
omarchy-launch-floating-terminal-with-presentation omarchy-voxtype-install
fi
) >/dev/null 2>&1 &
fi