1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-05-12 15:29:43 -04:00

quickshell: drop support for 0.2, require 0.3+

- Remove all compat code
- Rewire LegacyNetworkService to use Quickshell.Networking
- Add parentWindow to settings child windows
This commit is contained in:
bbedward
2026-05-11 13:04:29 -04:00
parent 3989c7f801
commit b8f4c350a8
52 changed files with 1472 additions and 2064 deletions

View File

@@ -586,10 +586,11 @@ PanelWindow {
width: alignedWidth
height: alignedHeight
visible: !win._finalized && !chromeOnlyExit
scale: (!win.inlineHeightAnimating && cardHoverHandler.hovered) ? 1.01 : 1.0
transformOrigin: Item.Center
Behavior on scale {
property real chromeScale: (!win.inlineHeightAnimating && cardHoverHandler.hovered) ? 1.01 : 1.0
Behavior on chromeScale {
NumberAnimation {
duration: Theme.shortDuration
easing.type: Theme.standardEasing
@@ -650,6 +651,8 @@ PanelWindow {
id: bgShadowLayer
anchors.fill: parent
anchors.margins: -content.shadowRenderPadding
scale: content.chromeScale
transformOrigin: Item.Center
level: content.elevLevel
fallbackOffset: 6
shadowBlurPx: content.shadowBlurPx
@@ -684,6 +687,8 @@ PanelWindow {
visible: win.notificationData && win.notificationData.urgency === NotificationUrgency.Critical
opacity: 1
clip: true
scale: content.chromeScale
transformOrigin: Item.Center
gradient: Gradient {
orientation: Gradient.Horizontal
@@ -713,6 +718,8 @@ PanelWindow {
border.color: win.connectedFrameMode ? "transparent" : BlurService.borderColor
border.width: win.connectedFrameMode ? 0 : BlurService.borderWidth
z: 100
scale: content.chromeScale
transformOrigin: Item.Center
}
Item {