#!/usr/bin/env bash

# omarchy:summary=Open Voxtype configuration

set -e

# Based: dictation is opt-in, and the bar's Dictation indicator lands here either way, so
# offer the install rather than a terminal that says voxtype: command not found.
if omarchy-cmd-missing voxtype; then
  exec omarchy-launch-floating-terminal-with-presentation omarchy-voxtype-install
fi

omarchy-launch-floating-terminal-with-presentation "voxtype configure"
omarchy-restart-shell
