Open wallpaper picker from launcher, apply on click, move media bar options to module cog
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e71ce9c0a4
commit
2e80ef1181
10 files changed
+49
-79
No files matched your search
@@ -119,7 +119,7 @@ Item {
|
||||
const view=input.findChild(ShellState.wallpaperWindow.contentItem,"wallpaperCarousel");
|
||||
view.positionViewAtIndex(index,ListView.Contain);input.wait(50);
|
||||
const item=view.itemAtIndex(index);if(!item)return false;
|
||||
input.mouseClick(item,item.width/2,item.height/2);input.keyClick(Qt.Key_Return);return true;
|
||||
input.mouseClick(item,item.width/2,item.height/2);return true;
|
||||
}
|
||||
function pickerScreenshot(path: string): bool {return input.findChild(ShellState.wallpaperWindow.contentItem,"wallpaperPickerSurface").grabToImage(result=>result.saveToFile(path));}
|
||||
function geometry(name: string): string {
|
||||
|
||||
Reference in new issue
Block a user