Files
omarchy/bin/omarchy-voxtype-install
Pete Jackson 5800a0f4a1 Suppress generic post-install instructions in voxtype setup (#4106)
Voxtype v0.4.9 adds a --no-post-install flag that suppresses the
"Next steps" instructions after downloading the model. Since Omarchy
handles systemd setup, hotkey configuration, and displays its own
success notification, these generic instructions are redundant and
potentially confusing to users.

The flag still shows download progress, just suppresses the
post-download instructions.
2026-01-07 07:41:36 +01:00

20 lines
557 B
Bash
Executable File

#!/bin/bash
set -e
# Install voxtype and configure it for use.
if gum confirm "Install Voxtype + AI model (~400MB) to enable dictation?"; then
omarchy-pkg-add wtype
omarchy-pkg-aur-add voxtype-bin
# Setup voxtype
mkdir -p ~/.config/voxtype
cp $OMARCHY_PATH/default/voxtype/config.toml ~/.config/voxtype/
voxtype setup --download --no-post-install
voxtype setup systemd
omarchy-restart-waybar
notify-send " Voxtype Dictation Ready" "Hold Super + Ctrl + X to dictate.\nEdit ~/.config/voxtype/config.toml for options." -t 10000
fi