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; } }