mirror of
https://github.com/kossLAN/dots.git
synced 2025-11-04 22:49:50 -05:00
32 lines
688 B
QML
32 lines
688 B
QML
import QtQuick
|
|
import Quickshell
|
|
import Quickshell.Widgets
|
|
import ".."
|
|
|
|
PopupWindow {
|
|
id: root
|
|
color: "transparent"
|
|
implicitWidth: container.width
|
|
implicitHeight: container.height
|
|
|
|
default property alias contentItem: container.children
|
|
|
|
WrapperRectangle {
|
|
id: container
|
|
margin: 5
|
|
radius: 12
|
|
|
|
color: {
|
|
let base = ShellSettings.colors.surface;
|
|
return Qt.rgba(base.r, base.g, base.b, 0.15);
|
|
}
|
|
|
|
border {
|
|
width: 1
|
|
color: {
|
|
let base = ShellSettings.colors.active;
|
|
return Qt.rgba(base.r, base.g, base.b, 0.05);
|
|
}
|
|
}
|
|
}
|
|
}
|