Files
glassMxrph/quickshell/wallpaper/WallpaperBackground.qml
T
mxandClaude Opus 5.5 99e64a7713 Add glassMxrph shell sources
Initial commit of the Quickshell desktop suite: bar, dock, launcher,
settings, Control Center, dashboard, OSD, lock screen, desktop widgets,
plugin host with the vendored Noctalia/Omarchy compatibility layer,
helpers, packaging, tests and phase documentation.

Includes the optimization work so far: usage widgets and dashboard
gauges no longer animate continuously, desktop widgets pause while
covered, system controls stop flickering on background polls, dock app
matching uses an indexed catalog, and workspace ghosts are created only
for occupied slots.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-07 22:36:17 +02:00

26 lines
880 B
QML

import QtQuick
import Quickshell
import Quickshell.Wayland
import "../services"
import "../theme"
// qmllint disable uncreatable-type
PanelWindow {
id:root
required property var modelData
screen:modelData
anchors {top:true;bottom:true;left:true;right:true}
color:Theme.surface
exclusionMode:ExclusionMode.Ignore
WlrLayershell.layer:WlrLayer.Background
WlrLayershell.namespace:"glassMxrph-wallpaper"
mask:Region {}
Image {
anchors.fill:parent
source:ConfigService.ready && ConfigService.data.wallpaper.byMonitor[root.modelData.name] ? "file://"+encodeURI(ConfigService.data.wallpaper.byMonitor[root.modelData.name]).replace(/#/g,"%23").replace(/\?/g,"%3F") : ""
sourceSize:Qt.size(parent.width,parent.height)
asynchronous:true
retainWhileLoading:true
fillMode:Image.PreserveAspectCrop
}
}