Move bar-settings and background-switcher into the shell

This commit is contained in:
Ryan Hughes
2026-05-14 02:21:48 -04:00
parent c72a8756b3
commit 714e8a453b
14 changed files with 863 additions and 116 deletions
@@ -1,7 +1,9 @@
pragma Singleton
import QtQuick
// Instance, not a singleton — instantiated once by shell.qml and injected into
// plugins that need to read or extend the widget catalogue. Relative-path
// singleton imports were creating per-importer instances which prevented the
// settings panel from seeing what the bar registered.
QtObject {
id: registry
@@ -1,9 +1,8 @@
pragma Singleton
import QtQuick
import Quickshell
import Quickshell.Io
// Instance, not a singleton — see BarWidgetRegistry for rationale.
QtObject {
id: registry
@@ -1,3 +1,3 @@
module omarchy.services
singleton PluginRegistry 1.0 PluginRegistry.qml
singleton BarWidgetRegistry 1.0 BarWidgetRegistry.qml
PluginRegistry 1.0 PluginRegistry.qml
BarWidgetRegistry 1.0 BarWidgetRegistry.qml