Files
omarchycn/install/first-run/install-voxtype.hook
T

13 lines
363 B
Bash

#!/bin/bash
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"