mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
While using the shell, add some value to the Meta key so the shell is more useful when using a keyboard.
18 lines
846 B
JavaScript
18 lines
846 B
JavaScript
var desktopsArray = desktopsForActivity(currentActivity());
|
|
for (var j = 0; j < desktopsArray.length; j++) {
|
|
desktopsArray[j].wallpaperPlugin = "org.kde.image";
|
|
}
|
|
desktopsArray[0].addWidget("org.kde.phone.krunner", 0, 0, screenGeometry(0).width, 20)
|
|
desktopsArray[0].currentConfigGroup = ["Shortcuts"]
|
|
desktopsArray[0].writeConfig("global", "Meta+F1")
|
|
|
|
// 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;
|