1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-05 21:15:38 -05:00

ipc: Add openWithQuery and toggleWithQuery to spotlight

This commit is contained in:
bbedward
2025-10-14 23:56:43 -04:00
parent d1383b5d1b
commit 54ef14e765
2 changed files with 44 additions and 0 deletions

View File

@@ -418,6 +418,12 @@ Application launcher modal control.
- `open` - Show the spotlight launcher
- `close` - Hide the spotlight launcher
- `toggle` - Toggle spotlight launcher visibility
- `openQuery <query>` - Show the spotlight launcher with pre-filled search query
- Parameters: `query` - Search text to pre-fill in the search box
- Returns: Success confirmation
- `toggleQuery <query>` - Toggle spotlight launcher with pre-filled search query
- Parameters: `query` - Search text to pre-fill in the search box (only used when opening)
- Returns: Success confirmation
### Target: `clipboard`
Clipboard history modal control.
@@ -510,6 +516,10 @@ File browser controls for selecting wallpapers and profile images.
# Open application launcher
dms ipc call spotlight toggle
# Open spotlight with pre-filled search
dms ipc call spotlight openQuery browser
dms ipc call spotlight toggleQuery "!"
# Show clipboard history
dms ipc call clipboard open