shift-shell/shell/contents/layout.js
Rodney Dawes 8ea1e27d6d Remove the krunner widget from home screen by default
Because the widget does not have the text entry internally, and pops
up a new window for entering search, which looks confusing and odd on
the phone, we just don't add it by default for now until this can be
fixed. This makes the first impression a bit better, and hides the
annoyance behind needing to manually add the widget. Once the widget
is fixed to not behave in such an odd manner, we can evaluate adding
it back to the default layout.
2021-11-30 14:10:32 -05:00

15 lines
657 B
JavaScript

var desktopsArray = desktopsForActivity(currentActivity());
for (var j = 0; j < desktopsArray.length; j++) {
desktopsArray[j].wallpaperPlugin = "org.kde.image";
}
// keep this list in sync with shell/contents/updates/panelsfix.js
var panel = new Panel("org.kde.phone.panel");
panel.location = "top";
panel.addWidget("org.kde.plasma.notifications");
panel.addWidget("org.kde.plasma.mediacontroller");
panel.height = 1.25 * gridUnit; // HACK: supposed to be gridUnit + smallSpacing, but it doesn't seem to give the correct number
var bottomPanel = new Panel("org.kde.phone.taskpanel")
bottomPanel.location = "bottom";
bottomPanel.height = 2 * gridUnit;