Track one-time setup with completion markers
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user