File indexing completed on 2024-04-28 16:52:27
0001 // SPDX-FileCopyrightText: 2014 Aaron J. Seigo 0002 // SPDX-FileCopyrightText: 2014-2019 Marco Martin <mart@kde.org> 0003 // SPDX-FileCopyrightText: 2015-2021 Bhushan Shah <bshah@kde.org> 0004 // SPDX-FileCopyrightText: 2021 Aleix Pol <apol@kde.org> 0005 // SPDX-FileCopyrightText: 2021 Devin Lin <devin@kde.org> 0006 // SPDX-License-Identifier: GPL-2.0-or-later 0007 0008 var desktopsArray = desktopsForActivity(currentActivity()); 0009 for (var j = 0; j < desktopsArray.length; j++) { 0010 desktopsArray[j].wallpaperPlugin = "org.kde.image"; 0011 } 0012 0013 // add meta shortcut 0014 desktopsArray[0].currentConfigGroup = ["Shortcuts"] 0015 desktopsArray[0].writeConfig("global", "Meta+F1") 0016 0017 // keep this list in sync with shell/contents/updates/panelsfix.js 0018 var panel = new Panel("org.kde.phone.panel"); 0019 panel.location = "top"; 0020 panel.addWidget("org.kde.plasma.notifications"); 0021 panel.height = 1.25 * gridUnit; // HACK: supposed to be gridUnit + smallSpacing, but it doesn't seem to give the correct number 0022 0023 var bottomPanel = new Panel("org.kde.phone.taskpanel") 0024 bottomPanel.location = "bottom"; 0025 bottomPanel.height = 2 * gridUnit;