feat: add idle inhibitor for ipc
This commit is contained in:
parent
ef1274d42b
commit
c74a248e1d
3 changed files with 58 additions and 0 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue