mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
feat: add idle inhibitor for ipc
This commit is contained in:
@@ -11,6 +11,9 @@ import qs.Widgets.Notification
|
||||
import qs.Settings
|
||||
import qs.Helpers
|
||||
|
||||
import "./Helpers/IdleInhibitor.qml"
|
||||
import "./Helpers/IPCHandlers.qml"
|
||||
|
||||
Scope {
|
||||
id: root
|
||||
|
||||
@@ -50,6 +53,10 @@ Scope {
|
||||
}
|
||||
}
|
||||
|
||||
IdleInhibitor {
|
||||
id: idleInhibitor
|
||||
}
|
||||
|
||||
NotificationServer {
|
||||
id: notificationServer
|
||||
onNotification: function (notification) {
|
||||
@@ -88,6 +95,7 @@ Scope {
|
||||
IPCHandlers {
|
||||
appLauncherPanel: appLauncherPanel
|
||||
lockScreen: lockScreen
|
||||
idleInhibitor: idleInhibitor
|
||||
}
|
||||
|
||||
Connections {
|
||||
|
||||
Reference in New Issue
Block a user