Fix Voxtype install notification hook
This commit is contained in:
@@ -2,9 +2,11 @@
|
|||||||
|
|
||||||
set -e
|
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
|
# Remove this hook after scheduling the background notification action.
|
||||||
omarchy-launch-floating-terminal-with-presentation omarchy-voxtype-install
|
rm -f "$0"
|
||||||
fi >/dev/null 2>&1 &
|
|
||||||
|
|||||||
Reference in New Issue
Block a user