1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-04 20:19:45 +00:00
Files
Mole/integrations/README.md

38 lines
1.2 KiB
Markdown

# Mole Integrations
Quick launcher integrations for Mole.
## Raycast + Alfred (clean & uninstall)
```bash
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 `clean` and `uninstall` so you can type and run Mole in Alfred.
Both launchers call your locally installed `mo`/`mole` binary 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). Export `MO_LAUNCHER_APP=<name>` to override.
## Alfred
Add a workflow with keyword `clean` and script:
```bash
mo clean
```
For dry-run: `mo clean --dry-run`
For uninstall: `mo uninstall`
## Uninstall
```bash
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.*
```