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

1.2 KiB

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 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:

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.*