ipc manager
This commit is contained in:
18
Services/IpcManager.qml
Normal file
18
Services/IpcManager.qml
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
pragma Singleton
|
||||||
|
import QtQuick
|
||||||
|
import Quickshell
|
||||||
|
import Quickshell.Io
|
||||||
|
|
||||||
|
Singleton {
|
||||||
|
id: root
|
||||||
|
|
||||||
|
signal logoutMenu
|
||||||
|
|
||||||
|
IpcHandler {
|
||||||
|
function openLogoutMenu(): void {
|
||||||
|
root.logoutMenu();
|
||||||
|
}
|
||||||
|
|
||||||
|
target: "root"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -6,3 +6,4 @@ singleton BluetoothManager 1.0 BluetoothManager.qml
|
|||||||
singleton MprisManager 1.0 MprisManager.qml
|
singleton MprisManager 1.0 MprisManager.qml
|
||||||
singleton BatteryManager 1.0 BatteryManager.qml
|
singleton BatteryManager 1.0 BatteryManager.qml
|
||||||
singleton NetworkManager 1.0 NetworkManager.qml
|
singleton NetworkManager 1.0 NetworkManager.qml
|
||||||
|
singleton IpcManager 1.0 IpcManager.qml
|
||||||
|
|||||||
Reference in New Issue
Block a user