quickshell: wrap tray context menu in shared Card segment

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
rope 2026-06-17 13:52:15 +01:00
parent 700d3f7de1
commit 6846f38b9a

View file

@ -1637,17 +1637,18 @@ in
id: menuOpener
}
Column {
Card {
id: menuItems
anchors.centerIn: parent
width: 200
cardSpacing: 0
Repeater {
model: menuOpener.children
Rectangle {
required property var modelData
width: 200
width: parent.width
height: modelData.isSeparator ? 9 : 28
color: !modelData.isSeparator && itemMouse.containsMouse && modelData.enabled
? Theme.base02 : Theme.base02t