mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
Basic IPC Manager - Not backward compatible
This commit is contained in:
+1
-3
@@ -5,7 +5,7 @@ import qs.Services
|
||||
|
||||
Singleton {
|
||||
id: root
|
||||
|
||||
|
||||
property var values: Array(count).fill(0)
|
||||
property int count: 44
|
||||
property int noiseReduction: 60
|
||||
@@ -31,8 +31,6 @@ Singleton {
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
|
||||
Process {
|
||||
id: process
|
||||
property int index: 0
|
||||
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user