1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-09 21:59:15 +00:00

Support the quick use of Raycast, Alfred and Shortcuts

This commit is contained in:
Tw93
2025-11-09 09:47:02 +08:00
parent 173c440726
commit d7abb42dac
6 changed files with 180 additions and 0 deletions

43
integrations/README.md Normal file
View File

@@ -0,0 +1,43 @@
# 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
```
Then open Raycast and search "Reload Script Commands".
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 ~/Library/Application\ Support/Raycast/script-commands/mole-*.sh
```