Files
glassMxrph/quickshell/core/DashboardRegistry.qml
T
mxandClaude Opus 5.5 99e64a7713 Add glassMxrph shell sources
Initial commit of the Quickshell desktop suite: bar, dock, launcher,
settings, Control Center, dashboard, OSD, lock screen, desktop widgets,
plugin host with the vendored Noctalia/Omarchy compatibility layer,
helpers, packaging, tests and phase documentation.

Includes the optimization work so far: usage widgets and dashboard
gauges no longer animate continuously, desktop widgets pause while
covered, system controls stop flickering on background polls, dock app
matching uses an indexed catalog, and workspace ghosts are created only
for occupied slots.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-07 22:36:17 +02:00

41 lines
1.4 KiB
QML

pragma Singleton
import QtQuick
import Quickshell
// Dashboard tabs. Order and visibility come from `dashboard.tabs` in the config.
Singleton {
readonly property var tabs: ({
dashboard: {
title: "Dashboard",
description: "User, clock, calendar, resources and now playing",
glyph: "󰕮",
fallback: "◫",
source: Qt.resolvedUrl("../dashboard/tabs/OverviewTab.qml")
},
media: {
title: "Media",
description: "Player controls and the EasyEffects equalizer",
glyph: "󰝚",
fallback: "♪",
source: Qt.resolvedUrl("../dashboard/tabs/MediaTab.qml")
},
performance: {
title: "Performance",
description: "CPU, GPU, memory, storage and network",
glyph: "󰓅",
fallback: "%",
source: Qt.resolvedUrl("../dashboard/tabs/PerformanceTab.qml")
},
power: {
title: "Power",
description: "Lock, restart and shut down",
glyph: "󰐥",
fallback: "⏻",
source: Qt.resolvedUrl("../dashboard/tabs/PowerTab.qml")
}
})
function entry(id) {
return tabs[id] || null;
}
}