nosignal-shell/modules/nexus/PageRegistry.qml
28allday 152923f5d8 fold: bake NoSignal shell patches into the fork (Phase 2)
We now own the pinned shell, so the runtime patches that the pacman-hook +
patch-script machinery re-applied after every caelestia-shell upgrade are
baked directly into source. Folds in all five caelestia-shell-targeting
patches from the builder's `os updates/`:

- Lock PAM (F1, blocker): ship faillock-free assets/pam.d/caelestia and point
  modules/lock/Pam.qml's passwd PamContext at it (config "passwd" -> "caelestia").
  A desktop screen-lock must never lock the user out of their own session.
- Updates page: add modules/nexus/pages/UpdatesPage.qml + register it in the
  first System slot of PageCompRegistry.qml.
- Additions page: add modules/nexus/pages/AdditionsPage.qml + register it in the
  Plugins slot; relabel Plugins -> Additions in PageRegistry.qml.
- Sudo toggle: add modules/nexus/common/SudoToggleRow.qml + insert it into
  ServicesPage.qml after the Smart colour scheme toggle.
- Wi-Fi wrong-password recovery: NetworkConnection.qml saved-profile branch now
  passes a real callback that forgets the bad profile and reopens the dialog.

The builder will drop the corresponding patch-*.sh calls + pacman hooks and
bump NOSIGNAL_SHELL_COMMIT to this commit.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-13 22:08:59 +01:00

87 lines
2.2 KiB
QML

pragma Singleton
import QtQuick
QtObject {
id: root
readonly property list<var> pages: [
// Appearance
{
label: qsTr("Wallpaper & style"),
icon: "palette",
description: qsTr("Wallpaper, fonts, colours"),
category: "appearance"
},
// Connectivity
// TODO
// {
// label: qsTr("Display"),
// icon: "monitor",
// description: qsTr("Output configuration"),
// category: "connectivity"
// },
{
label: qsTr("Network"),
icon: "wifi",
description: qsTr("Wi-Fi, ethernet"),
category: "connectivity"
},
{
label: qsTr("Connected devices"),
icon: "devices_other",
description: qsTr("Bluetooth, pairing"),
category: "connectivity",
noFill: true
},
{
label: qsTr("Audio"),
icon: "volume_up",
description: qsTr("App volumes, sound devices"),
category: "connectivity"
},
// System
{
label: qsTr("Updates"),
icon: "update",
description: qsTr("System updates"),
category: "system"
},
{
label: qsTr("Additions"),
icon: "extension",
description: qsTr("Install optional software"),
category: "system"
},
// Shell
{
label: qsTr("Panels"),
icon: "dock_to_bottom",
description: qsTr("Dashboard, taskbar, launcher, sidebar"),
category: "shell"
},
{
label: qsTr("Services"),
icon: "build",
description: qsTr("Poll intervals, lyrics backend"),
category: "shell"
},
{
label: qsTr("Language & region"),
icon: "globe",
description: qsTr("UI language, weather location, display units"),
category: "shell"
},
// About
{
label: qsTr("About"),
icon: "info",
description: qsTr("System information, credits"),
category: "about"
},
]
}