Files
glassMxrph/quickshell/controlcenter/ControlRegistry.qml
T
mxandClaude Opus 5.5 395de70b26 Add native notifications with OSD-style banners and a Control Center module
glassMxrph now owns org.freedesktop.Notifications. Banners drop out of the
bar like the OSD; Control Center stacks history per app like macOS
Notification Center. Do Not Disturb lives in the shell and falls back to
SwayNC while another daemon holds the bus name.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-15 14:47:40 +02:00

49 lines
1.5 KiB
QML

pragma Singleton
import QtQuick
import Quickshell
Singleton {
function entry(id) {
return Object.prototype.hasOwnProperty.call(modules, id) ? modules[id] : null;
}
readonly property var modules: ({
metrics: {title:"System Metrics", source:Qt.resolvedUrl("modules/Metrics.qml")},
connectivity: {
title: "Connectivity",
source: Qt.resolvedUrl("modules/Connectivity.qml")
},
audio: {
title: "Audio",
source: Qt.resolvedUrl("modules/Audio.qml")
},
brightness: {
title: "Brightness",
source: Qt.resolvedUrl("modules/Brightness.qml")
},
nightLight: {
title: "Night Light",
source: Qt.resolvedUrl("modules/NightLight.qml")
},
dnd: {
title: "Do Not Disturb",
source: Qt.resolvedUrl("modules/Dnd.qml")
},
profiles: {
title: "Power profile",
source: Qt.resolvedUrl("modules/Profiles.qml")
},
media: {
title: "Media",
source: Qt.resolvedUrl("modules/Media.qml")
},
power: {
title: "Power",
source: Qt.resolvedUrl("modules/Power.qml")
},
notifications: {
title: "Notifications",
source: Qt.resolvedUrl("modules/Notifications.qml")
}
})
}