From dd3080251d18a1ff7b28dff8751fc03224152b7c Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Tue, 26 May 2026 00:11:51 +0200 Subject: [PATCH] Fix Voxtype install notification hook --- install/first-run/install-voxtype.hook | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/install/first-run/install-voxtype.hook b/install/first-run/install-voxtype.hook index 68943952..07f1882a 100644 --- a/install/first-run/install-voxtype.hook +++ b/install/first-run/install-voxtype.hook @@ -2,9 +2,11 @@ set -e -# Remove this hook after use -rm -f "$0" +( + 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 & -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"