mirror of
https://github.com/tw93/Mole.git
synced 2026-02-04 18:34:46 +00:00
Mole Integrations
Quick launcher integrations for Mole.
Raycast + Alfred (clean & uninstall)
curl -fsSL https://raw.githubusercontent.com/tw93/Mole/main/integrations/setup-quick-launchers.sh | bash
This command:
- Adds two Raycast Script Commands (
clean,uninstall) to the usual Raycast directories and opens the Script Commands panel so you can reload immediately. - Creates two Alfred workflows with keywords
cleananduninstallso you can type and run Mole in Alfred. Both launchers call your locally installedmo/molebinary directly—no extra prompts or AppleScript permissions needed.
Raycast scripts automatically pick the first terminal they find (Warp → Ghostty → Alacritty → Kitty → WezTerm → WindTerm → Hyper → iTerm2 → Terminal). ExportMO_LAUNCHER_APP=<name>to override.
Alfred
Add a workflow with keyword clean and script:
mo clean
For dry-run: mo clean --dry-run
For uninstall: mo uninstall
Uninstall
rm -rf ~/Documents/Raycast/Scripts/mole-*.sh
rm -rf ~/Library/Application\ Support/Raycast/script-commands/mole-*.sh
# Alfred workflows live in:
# ~/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.*