feat: input mgr

This commit is contained in:
2026-01-24 14:35:16 +02:00
parent 1a37e76c4a
commit e5d5b2e086
14 changed files with 418 additions and 67 deletions

View File

@@ -1,19 +1,42 @@
import Quickshell
import Quickshell.Wayland
import QtQuick
PanelWindow {
WlrLayershell.layer: WlrLayer.Top
WlrLayershell.focusable: true
WlrLayershell.keyboardFocus: WlrKeyboardFocus.OnDemand
WlrLayershell.namespace: "deltarune-quickshell"
Item {
id: windowFrame
property color backgroundColor: "#000000"
property int borderSize: 52
width: 640
height: 360
clip: true
visible: true
exclusionMode: ExclusionMode.Ignore
aboveWindows: true
focusable: true
Rectangle {
anchors.fill: parent
anchors.margins: windowFrame.borderSize
color: windowFrame.backgroundColor
}
implicitWidth: 1217
implicitHeight: 767
color: "#000000"
BorderImage {
anchors.fill: parent
anchors.margins: 16 + 4
anchors.centerIn: parent
source: "./border.png"
width: 108
height: 108
border {
left: windowFrame.borderSize
top: windowFrame.borderSize
right: windowFrame.borderSize
bottom: windowFrame.borderSize
}
}
Item {
id: contentSlot
anchors {
fill: parent
margins: windowFrame.borderSize
}
}
default property alias windowContent: contentSlot.data
}