Add Clipboard and Emoji pills beside the launcher bar
Round glass pills to the right of the search bar switch the launcher to Clipboard History or the Emoji picker and back, naming themselves in the empty bar on hover. The launcher runtime test now runs without a second notification server. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
7f1189606c
commit
9e1ac4efe7
3 files changed
+95
-3
No files matched your search
@@ -92,9 +92,19 @@ Item {
|
||||
function browse(): void {
|
||||
LauncherState.window.toggleBrowse();
|
||||
}
|
||||
function pill(mode: string): bool {
|
||||
const item = input.findChild(LauncherState.window.contentItem, "launcherPill-" + mode);
|
||||
if (!item || !item.visible)
|
||||
return false;
|
||||
input.mouseClick(item, item.width / 2, item.height / 2);
|
||||
return true;
|
||||
}
|
||||
function screenshot(path: string): bool {
|
||||
return input.findChild(LauncherState.window.contentItem, "launcherSurface").grabToImage(result => result.saveToFile(path));
|
||||
}
|
||||
function pillsShot(path: string): bool {
|
||||
return input.findChild(LauncherState.window.contentItem, "launcherPills").grabToImage(result => result.saveToFile(path));
|
||||
}
|
||||
function extension(add: bool): bool {
|
||||
if (!add) {
|
||||
CommandRegistry.unregisterCommand("fixture");
|
||||
|
||||
Reference in new issue
Block a user