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 QtQuick
|
||||||
import Quickshell.Io
|
import Quickshell.Io
|
||||||
import qs.Modules.LockScreen
|
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
id: root
|
id: root
|
||||||
|
|
@ -49,9 +48,4 @@ Item {
|
||||||
lockScreen.locked = !lockScreen.locked
|
lockScreen.locked = !lockScreen.locked
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// LockScreen instance
|
|
||||||
LockScreen {
|
|
||||||
id: lockScreen
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
17
shell.qml
17
shell.qml
|
|
@ -2,17 +2,18 @@
|
||||||
import QtQuick
|
import QtQuick
|
||||||
import Quickshell
|
import Quickshell
|
||||||
import Quickshell.Io
|
import Quickshell.Io
|
||||||
import Quickshell.Widgets
|
|
||||||
import Quickshell.Services.Pipewire
|
import Quickshell.Services.Pipewire
|
||||||
|
import Quickshell.Widgets
|
||||||
|
import qs.Modules.AppLauncher
|
||||||
|
import qs.Modules.Background
|
||||||
import qs.Modules.Bar
|
import qs.Modules.Bar
|
||||||
import qs.Modules.Dock
|
|
||||||
import qs.Modules.Calendar
|
import qs.Modules.Calendar
|
||||||
import qs.Modules.Demo
|
import qs.Modules.Demo
|
||||||
import qs.Modules.Background
|
import qs.Modules.Dock
|
||||||
import qs.Modules.SidePanel
|
import qs.Modules.LockScreen
|
||||||
import qs.Modules.AppLauncher
|
|
||||||
import qs.Modules.Notification
|
import qs.Modules.Notification
|
||||||
import qs.Modules.Settings
|
import qs.Modules.Settings
|
||||||
|
import qs.Modules.SidePanel
|
||||||
import qs.Services
|
import qs.Services
|
||||||
import qs.Widgets
|
import qs.Widgets
|
||||||
|
|
||||||
|
|
@ -29,8 +30,6 @@ ShellRoot {
|
||||||
id: appLauncherPanel
|
id: appLauncherPanel
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
DemoPanel {
|
DemoPanel {
|
||||||
id: demoPanel
|
id: demoPanel
|
||||||
}
|
}
|
||||||
|
|
@ -55,6 +54,10 @@ ShellRoot {
|
||||||
id: notificationHistoryPanel
|
id: notificationHistoryPanel
|
||||||
}
|
}
|
||||||
|
|
||||||
|
LockScreen {
|
||||||
|
id: lockScreen
|
||||||
|
}
|
||||||
|
|
||||||
IPCManager {}
|
IPCManager {}
|
||||||
|
|
||||||
Component.onCompleted: {
|
Component.onCompleted: {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue