2021-12-23 16:02:41 +00:00
|
|
|
// SPDX-FileCopyrightText: 2014 Aaron J. Seigo
|
|
|
|
|
// SPDX-FileCopyrightText: 2014-2019 Marco Martin <mart@kde.org>
|
|
|
|
|
// SPDX-FileCopyrightText: 2015-2021 Bhushan Shah <bshah@kde.org>
|
|
|
|
|
// SPDX-FileCopyrightText: 2021 Aleix Pol <apol@kde.org>
|
|
|
|
|
// SPDX-FileCopyrightText: 2021 Devin Lin <devin@kde.org>
|
|
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
|
|
2016-08-03 09:38:55 +00:00
|
|
|
var desktopsArray = desktopsForActivity(currentActivity());
|
2014-09-26 19:06:16 +00:00
|
|
|
for (var j = 0; j < desktopsArray.length; j++) {
|
|
|
|
|
desktopsArray[j].wallpaperPlugin = "org.kde.image";
|
2023-03-05 02:52:41 +00:00
|
|
|
|
|
|
|
|
if (j == 0) {
|
|
|
|
|
// add meta shortcut
|
|
|
|
|
desktopsArray[0].currentConfigGroup = ["Shortcuts"]
|
|
|
|
|
desktopsArray[0].writeConfig("global", "Meta+F1")
|
|
|
|
|
}
|
2014-09-03 14:50:41 +00:00
|
|
|
}
|
2021-10-12 13:50:36 +00:00
|
|
|
|
2021-02-26 03:56:25 +00:00
|
|
|
// keep this list in sync with shell/contents/updates/panelsfix.js
|
2023-03-05 18:22:00 +00:00
|
|
|
var panel = new Panel("org.kde.plasma.mobile.panel");
|
|
|
|
|
panel.location = "top";
|
|
|
|
|
panel.addWidget("org.kde.plasma.notifications");
|
|
|
|
|
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.plasma.mobile.taskpanel")
|
|
|
|
|
bottomPanel.location = "bottom";
|
|
|
|
|
bottomPanel.height = 2 * gridUnit;
|