diff --git a/launcher/Launcher.qml b/launcher/Launcher.qml index d6e63f3..98dfaba 100644 --- a/launcher/Launcher.qml +++ b/launcher/Launcher.qml @@ -3,13 +3,13 @@ import QtQuick import QtQuick.Layouts import QtQuick.Controls import Quickshell.Wayland -import Quickshell.Hyprland +import Quickshell.Io import "root:/singeltons" PanelWindow { id: root - property bool show: true + property bool show: false implicitWidth: 600 implicitHeight: 400 @@ -20,14 +20,18 @@ PanelWindow { WlrLayershell.keyboardFocus: WlrKeyboardFocus.Exclusive WlrLayershell.layer: WlrLayer.Top - HyprlandWindow.opacity: 0.9 + IpcHandler { + target: "launcher" + + function open(): void {root.show = true; } + } // Main window Rectangle { anchors.fill: parent anchors.centerIn: parent - color: Qt.hsla(0, 0, 1, 0.5) + color: "#363a4f" border.color: Qt.hsla(0, 0, 1, 0.2) border.width: 2 radius: 12