summaryrefslogtreecommitdiff
path: root/shell.qml
diff options
context:
space:
mode:
Diffstat (limited to 'shell.qml')
-rw-r--r--shell.qml14
1 files changed, 14 insertions, 0 deletions
diff --git a/shell.qml b/shell.qml
index 9717548..0c5e13e 100644
--- a/shell.qml
+++ b/shell.qml
@@ -1,12 +1,19 @@
import Quickshell
import Quickshell.Io
import "bar"
+import "launcher"
import QtQuick
import QtQuick.Layouts
Scope {
Bar {}
+ LazyLoader {
+ id: launcherLoader
+ component: Launcher {
+ parentLoader: launcherLoader
+ }
+ }
IpcHandler {
target: "qs"
@@ -15,6 +22,13 @@ Scope {
Quickshell.reload(hard);
}
}
+ IpcHandler {
+ target: "launcher"
+
+ function toggle() {
+ launcherLoader.active = !launcherLoader.active;
+ }
+ }
Connections {
target: Quickshell