aerothemeplasma/plasma/shells/io.gitgud.wackyideas.desktop/contents/configuration/ShellContainmentConfiguration.qml
wackyideas 6f831d540f Move to new shell plugin & panel, add SDDM sessions
This is a big update which requires existing users to migrate their
desktop setup (Plasmoids, their configurations, layout changes, etc.) to
a new desktop session.

This commit replaces the modified desktop shell (org.kde.plasma.desktop)
with ATP's shell (io.gitgud.wackyideas.desktop) which requires new
session options. This is similar to how plasma-bigscreen and
plasma-mobile are used - logging into a separate session via the login
manager (SDDM). ATP will provide sessions for both X11 and Wayland.

This, along with now providing a forked panel as well, is a step forward
regarding separating ATP's codebase and KDE's upstream code. Further
goals are to be able to further isolate the ATP session from the regular
KDE session in terms of shared configurations, etc.

For existing users - Rerun install_plasmoids.sh and
install_plasma_components.sh, you can delete the old shell
(shells/org.kde.plasma.desktop) and panel plasmoid
(plasmoids/org.kde.panel). As mentioned previously, panel and desktop
layouts, plasmoids and their configurations will not be migrated to the
newly available sessions, so they need to be set up manually.
2025-10-21 13:23:06 +02:00

85 lines
2.2 KiB
QML

/*
SPDX-FileCopyrightText: 2021 Cyril Rossi <cyril.rossi@enioka.com>
SPDX-License-Identifier: LGPL-2.0-or-later
*/
import QtQuick 2.15
import QtQuick.Controls 2.4 as QQC2
import QtQuick.Layouts 1.3
import QtQuick.Window 2.15
import org.kde.kirigami 2.13 as Kirigami
import "shellcontainmentconfiguration"
Kirigami.AbstractApplicationWindow {
id: root
title: i18nd("plasma_shell_org.kde.plasma.desktop", "Panel and Desktop Management")
width: Kirigami.Units.gridUnit * 40
height: Kirigami.Units.gridUnit * 32
minimumWidth: Kirigami.Units.gridUnit * 30
minimumHeight: Kirigami.Units.gridUnit * 25
header: QQC2.ToolBar {
anchors {
left: parent.left
right: parent.right
}
contentItem: QQC2.Label {
Layout.fillWidth: parent
text: i18nd("plasma_shell_org.kde.plasma.desktop", "You can drag Panels and Desktops around to move them to different screens.")
textFormat: Text.PlainText
horizontalAlignment: Text.AlignHCenter
wrapMode: Text.WordWrap
}
}
footer: QQC2.Control {
contentItem: QQC2.DialogButtonBox {
QQC2.Button {
text: i18nd("plasma_shell_org.kde.plasma.desktop", "Close")
onClicked: Window.window.close()
}
}
background: Item {
// FIXME: automate that somehow?
Kirigami.Separator {
anchors {
left: parent.left
top: parent.top
right: parent.right
}
visible: mainPage.flickable.contentHeight > mainPage.flickable.height
}
}
}
Kirigami.ScrollablePage {
id: mainPage
anchors.fill: parent
leftPadding: 0
topPadding: 0
rightPadding: 0
bottomPadding: 0
Flow {
id: mainGrid
width: mainPage.flickable.width
spacing: 0
Repeater {
id: repeater
model: ShellContainmentModel
delegate: Delegate {
viewPort: mainPage
}
}
}
}
}