mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
start with the screen locked
This commit is contained in:
parent
6b3f32ed3c
commit
fc52ae95d4
1 changed files with 9 additions and 1 deletions
|
|
@ -117,12 +117,20 @@ Item {
|
|||
LayoutManager.layout = appletsSpace.layout;
|
||||
//LayoutManager.lastSpacer = appletsSpace.lastSpacer;
|
||||
LayoutManager.restore();
|
||||
applicationsView.contentY = -root.height;
|
||||
applicationsView.contentY = -applicationsView.headerItem.height*2;
|
||||
|
||||
plasmoid.nativeInterface.applicationListModel.appOrder = plasmoid.configuration.AppOrder;
|
||||
plasmoid.nativeInterface.applicationListModel.loadApplications();
|
||||
}
|
||||
|
||||
Timer {
|
||||
interval: 200
|
||||
running: true
|
||||
onTriggered: {
|
||||
applicationsView.contentY = -applicationsView.headerItem.height;
|
||||
}
|
||||
}
|
||||
|
||||
Containment.onAppletAdded: {
|
||||
addApplet(applet, x, y);
|
||||
LayoutManager.save();
|
||||
|
|
|
|||
Loading…
Reference in a new issue