chore: stuff
This commit is contained in:
16
shell.qml
16
shell.qml
@@ -1,11 +1,11 @@
|
||||
import QtQuick
|
||||
import Quickshell.Io
|
||||
import Quickshell
|
||||
import Quickshell.Io
|
||||
import Quickshell.Hyprland
|
||||
import "DeltaruneQuickshell"
|
||||
|
||||
ShellRoot {
|
||||
id: baseShell
|
||||
property bool isOpen: !true
|
||||
property bool isOpen: false
|
||||
|
||||
WLRLayerTopbar {
|
||||
visible: baseShell.isOpen
|
||||
@@ -13,6 +13,16 @@ ShellRoot {
|
||||
WLRLayerHealthbar {
|
||||
visible: baseShell.isOpen
|
||||
}
|
||||
WLRLayerDialogBox {}
|
||||
|
||||
GlobalShortcut {
|
||||
appid: "deltarune"
|
||||
triggerDescription: "Toggle the menu"
|
||||
name: "shell_toggle"
|
||||
onReleased: {
|
||||
baseShell.isOpen = !baseShell.isOpen;
|
||||
}
|
||||
}
|
||||
|
||||
IpcHandler {
|
||||
target: "deltarune.shell"
|
||||
|
||||
Reference in New Issue
Block a user