diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2025-07-16 12:55:47 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2025-07-16 12:55:47 +0800 |
| commit | d3d868bf2376b579304dd2fb4b32d657503ef1bd (patch) | |
| tree | 0b2c3efccb9c73798d379a941fe4b30b86492f78 /shell.qml | |
| parent | dd22826761494037945d439c70b3accf6701a198 (diff) | |
shell: ipc reload
Diffstat (limited to 'shell.qml')
| -rw-r--r-- | shell.qml | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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() { |
