mirror of
https://github.com/tw93/Mole.git
synced 2026-02-05 14:58:47 +00:00
47 lines
1.0 KiB
Markdown
47 lines
1.0 KiB
Markdown
# Mole Integrations
|
|
|
|
Quick launcher integrations for Mole.
|
|
|
|
## Raycast
|
|
|
|
One command install:
|
|
|
|
```bash
|
|
curl -fsSL https://raw.githubusercontent.com/tw93/Mole/main/integrations/setup-raycast.sh | bash
|
|
```
|
|
|
|
The installer copies scripts into both `~/Documents/Raycast/Scripts` and `~/Library/Application Support/Raycast/script-commands`. After installation, open Raycast and search "Reload Script Directories".
|
|
|
|
Still nothing? Go to `Raycast Settings → Extensions → Script Commands`, click `Add Directories`, and select either of those folders.
|
|
|
|
Available commands: `clean mac`, `dry run`, `uninstall apps`
|
|
|
|
## Alfred
|
|
|
|
Add a workflow with keyword `clean` and script:
|
|
|
|
```bash
|
|
mo clean
|
|
```
|
|
|
|
For dry-run: `mo clean --dry-run`
|
|
|
|
For uninstall: `mo uninstall`
|
|
|
|
## macOS Shortcuts
|
|
|
|
Create a shortcut with "Run Shell Script":
|
|
|
|
```bash
|
|
mo clean
|
|
```
|
|
|
|
Then add to Menu Bar or assign a keyboard shortcut.
|
|
|
|
## Uninstall
|
|
|
|
```bash
|
|
rm -rf ~/Documents/Raycast/Scripts/mole-*.sh
|
|
rm -rf ~/Library/Application\ Support/Raycast/script-commands/mole-*.sh
|
|
```
|