Commit d7c37304 authored by Marco Martin's avatar Marco Martin

correct default layout

script is correct now,
still doesn't work yet on master, but is a problem in plasmashell
parent 0f90aa19
var desktopsArray = desktopsForActivty(currentActivity());
var desktopsArray = desktopsForActivity(currentActivity());
for (var j = 0; j < desktopsArray.length; j++) {
desktopsArray[j].wallpaperPlugin = "org.kde.image";
//desktopsArray[j].name = "Homescreen" + (j > 0 ? " " + j : "");
......@@ -9,7 +9,7 @@ for (var j = 0; j < desktopsArray.length; j++) {
desktopsArray[j].writeConfig("Image", "org.kde.plasma.phone.lockers");
}
desktopsForActivity(id)[0].addWidget("org.kde.plasma.analogclock");
desktopsArray[0].addWidget("org.kde.plasma.analogclock");
var panel = new Panel("org.kde.phone.panel");
panel.addWidget("org.kde.plasma.notifications");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment