LockScreen: moved instance from IPCManager.qml to shell
This commit is contained in:
parent
151e2b6aaf
commit
7fced5df95
2 changed files with 10 additions and 13 deletions
|
|
@ -1,6 +1,5 @@
|
|||
import QtQuick
|
||||
import Quickshell.Io
|
||||
import qs.Modules.LockScreen
|
||||
|
||||
Item {
|
||||
id: root
|
||||
|
|
@ -49,9 +48,4 @@ Item {
|
|||
lockScreen.locked = !lockScreen.locked
|
||||
}
|
||||
}
|
||||
|
||||
// LockScreen instance
|
||||
LockScreen {
|
||||
id: lockScreen
|
||||
}
|
||||
}
|
||||
|
|
|
|||
17
shell.qml
17
shell.qml
|
|
@ -2,17 +2,18 @@
|
|||
import QtQuick
|
||||
import Quickshell
|
||||
import Quickshell.Io
|
||||
import Quickshell.Widgets
|
||||
import Quickshell.Services.Pipewire
|
||||
import Quickshell.Widgets
|
||||
import qs.Modules.AppLauncher
|
||||
import qs.Modules.Background
|
||||
import qs.Modules.Bar
|
||||
import qs.Modules.Dock
|
||||
import qs.Modules.Calendar
|
||||
import qs.Modules.Demo
|
||||
import qs.Modules.Background
|
||||
import qs.Modules.SidePanel
|
||||
import qs.Modules.AppLauncher
|
||||
import qs.Modules.Dock
|
||||
import qs.Modules.LockScreen
|
||||
import qs.Modules.Notification
|
||||
import qs.Modules.Settings
|
||||
import qs.Modules.SidePanel
|
||||
import qs.Services
|
||||
import qs.Widgets
|
||||
|
||||
|
|
@ -29,8 +30,6 @@ ShellRoot {
|
|||
id: appLauncherPanel
|
||||
}
|
||||
|
||||
|
||||
|
||||
DemoPanel {
|
||||
id: demoPanel
|
||||
}
|
||||
|
|
@ -55,6 +54,10 @@ ShellRoot {
|
|||
id: notificationHistoryPanel
|
||||
}
|
||||
|
||||
LockScreen {
|
||||
id: lockScreen
|
||||
}
|
||||
|
||||
IPCManager {}
|
||||
|
||||
Component.onCompleted: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue