use quickshell for wallpaper

This commit is contained in:
end-4
2025-07-14 20:43:52 +07:00
parent efa60d09fc
commit 631303bffe
10 changed files with 173 additions and 161 deletions
@@ -27,7 +27,7 @@ Singleton {
}
function handleFirstRun() {
Quickshell.execDetached(["bash", "-c", `swww query | grep 'image' || '${Directories.wallpaperSwitchScriptPath}' '${root.defaultWallpaperPath}'`])
Quickshell.execDetached([Directories.wallpaperSwitchScriptPath, root.defaultWallpaperPath])
Quickshell.execDetached(["bash", "-c", `qs -p '${root.welcomeQmlPath}'`])
}