summaryrefslogtreecommitdiff
path: root/shell.qml
diff options
context:
space:
mode:
Diffstat (limited to 'shell.qml')
-rw-r--r--shell.qml10
1 files changed, 10 insertions, 0 deletions
diff --git a/shell.qml b/shell.qml
index f62bf04..9717548 100644
--- a/shell.qml
+++ b/shell.qml
@@ -1,4 +1,5 @@
import Quickshell
+import Quickshell.Io
import "bar"
import QtQuick
@@ -6,6 +7,15 @@ import QtQuick.Layouts
Scope {
Bar {}
+
+ IpcHandler {
+ target: "qs"
+
+ function reload(hard: bool): void {
+ Quickshell.reload(hard);
+ }
+ }
+
Connections {
target: Quickshell
function onReloadCompleted() {