38 lines
680 B
QML
38 lines
680 B
QML
import Quickshell // for PanelWindow
|
|
import QtQuick // for Text
|
|
import QtQuick.Shapes
|
|
import QtQuick.Controls
|
|
import QtQuick.Layouts
|
|
import Quickshell.Io
|
|
import Quickshell.Widgets
|
|
import Quickshell.Wayland
|
|
import Quickshell.Hyprland
|
|
|
|
Item {
|
|
|
|
x: parent.width / 2 - width / 2
|
|
y: 80
|
|
|
|
implicitWidth: 700
|
|
implicitHeight: 400
|
|
|
|
required property real radius
|
|
|
|
id: root
|
|
|
|
visible: true
|
|
|
|
WrapperMouseArea {
|
|
anchors.fill: parent
|
|
ClippingRectangle {
|
|
anchors.fill: parent
|
|
color: Pywal.special.background
|
|
|
|
radius: root.radius
|
|
}
|
|
|
|
hoverEnabled: true
|
|
onExited: root.visible = false
|
|
}
|
|
}
|