Basic IPC Manager - Not backward compatible

This commit is contained in:
quadbyte 2025-08-13 16:31:11 -04:00
parent 73580bcc04
commit ee326a72ae
3 changed files with 49 additions and 3 deletions

46
Services/IPCManager.qml Normal file
View file

@ -0,0 +1,46 @@
import QtQuick
import Quickshell.Io
Item {
id: root
IpcHandler {
target: "settings"
function toggle() {
settingsPanel.isLoaded = !settingsPanel.isLoaded
}
}
IpcHandler {
target: "notifications"
function toggleHistory() {
notificationHistoryPanel.isLoaded = !notificationHistoryPanel.isLoaded
}
function toggleDoNotDisturb() {// TODO
}
}
IpcHandler {
target: "idleInhibitor"
function toggle() {// TODO
}
}
IpcHandler {
target: "appLauncher"
function toggle() {// TODO
}
}
IpcHandler {
target: "lockScreen"
function toggle() {// TODO
}
}
}