1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-08-08 06:28:27 -04:00

feat(Xray): Automatic Xray blur effects for Niri & Hyprland layouts

- Utilizes include layout within niri configs & hyprland's layout layer rules for lua configs
This commit is contained in:
purian23
2026-07-01 16:15:02 -04:00
parent 38a03a4485
commit 7964b66827
7 changed files with 239 additions and 1 deletions
@@ -1812,6 +1812,40 @@ Item {
defaultValue: 35
onSliderValueChanged: newValue => SettingsData.set("blurBorderOpacity", newValue / 100)
}
Item {
width: parent.width
height: xrayHintRow.implicitHeight
visible: CompositorService.isNiri || CompositorService.isHyprland || CompositorService.isMango
Row {
id: xrayHintRow
width: parent.width
spacing: Theme.spacingS
DankIcon {
name: "info"
size: Theme.iconSizeSmall
color: Theme.primary
anchors.verticalCenter: parent.verticalCenter
}
StyledText {
width: parent.width - Theme.iconSizeSmall - Theme.spacingS
anchors.verticalCenter: parent.verticalCenter
text: I18n.tr("Xray specific options for blurred surfaces live in Compositor → Layout")
font.pixelSize: Theme.fontSizeSmall
color: Theme.primary
wrapMode: Text.Wrap
}
}
MouseArea {
anchors.fill: parent
cursorShape: Qt.PointingHandCursor
onClicked: PopoutService.openSettingsWithTab("compositor_layout")
}
}
}
SettingsCard {