Files
glassMxrph/quickshell/components/GlassPanel.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

49 lines
1.2 KiB
QML

import QtQuick
import "../theme"
Rectangle {
id: root
property real surfaceOpacity: Theme.glassOpacity
radius: Theme.radius
color: Qt.alpha(Theme.surface, surfaceOpacity)
border.width: 1
border.color: Theme.border
Rectangle {
z: -1
anchors.fill: parent
anchors.topMargin: 4
anchors.bottomMargin: -4
radius: root.radius
color: Theme.shadow
visible: Theme.shadows
}
Rectangle {
anchors.fill: parent
radius: root.radius
visible: Theme.highlights
gradient: Gradient {
GradientStop {
position: 0
color: Qt.alpha(Theme.text, 0.035)
}
GradientStop {
position: 0.55
color: Theme.transparent
}
GradientStop {
position: 1
color: Qt.alpha(Theme.shadow, 0.03)
}
}
}
Rectangle {
anchors.top: parent.top
anchors.topMargin: 1
anchors.horizontalCenter: parent.horizontalCenter
width: Math.max(0, parent.width - root.radius * 2)
height: 1
color: Theme.border
visible: Theme.highlights
}
}