feat: healthbars + ipc

This commit is contained in:
2026-01-23 17:26:39 +02:00
parent 79bb284ac3
commit 5e603eeef9
14 changed files with 123 additions and 16 deletions

View File

@@ -1,19 +1,27 @@
import Quickshell // for PanelWindow
import QtQuick // for Text
import QtQuick
import Quickshell.Io
import Quickshell
import "DeltaruneQuickshell"
PanelWindow {
anchors {
top: true
left: true
right: true
ShellRoot {
id: baseShell
property bool isOpen: !true
WLRLayerTopbar {
visible: baseShell.isOpen
}
WLRLayerHealthbar {
visible: baseShell.isOpen
}
// exclusionMode:x ExclusionMode.Ignore
aboveWindows: true
focusable: false
implicitHeight: 182
color: "#000000"
DeltaruneTopbar {}
IpcHandler {
target: "deltarune.shell"
enabled: true
function open(): void {
baseShell.isOpen = true;
}
function close(): void {
baseShell.isOpen = false;
}
}
}