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,30 +1,21 @@
import Quickshell
import Quickshell.Io
import Quickshell.Hyprland
import QtQuick
import "Shell"
ShellRoot {
id: baseShell
// Use the singleton directly; it controls the shell state globally.
property bool isOpen: ShellStateManager.shellOpen
WLRLayerTopbar {
visible: baseShell.isOpen
}
WLRLayerHealthbar {
visible: baseShell.isOpen
}
WLRLayerDialogBox {}
Overlay {}
GlobalShortcut {
appid: "deltarune"
triggerDescription: "Toggle the menu"
name: "shell_toggle"
onReleased: {
ShellStateManager.toggleShell();
}
}
Topbar {}
Healthbar {}
DialogBox {}
InputShortcuts {}
IpcHandler {
target: "deltarune.shell"