pragma Singleton import QtQuick import Quickshell import "../../../../services" as GS // glassMxrph stand-in for wallpaper queries. Singleton { readonly property bool isInitialized: true readonly property var currentWallpapers: GS.ConfigService.ready ? GS.ConfigService.data.wallpaper.byMonitor : ({}) signal wallpaperProcessingComplete function getWallpaper(screenName) { return currentWallpapers[screenName] || ""; } function getWallpapersEffectiveMap() { return currentWallpapers; } function changeWallpaper(path, screenName) { GS.WallpaperService.apply(path); } function isSolidColorPath(path) { return String(path).startsWith("solid://"); } function getSolidColor(path) { return String(path).replace("solid://", ""); } function getFillModeUniform() { return 1; } }