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>
49 lines
1.5 KiB
QML
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")
|
|
}
|
|
})
|
|
}
|