Give notch mode its own control layout and backgroundless islands

- The notch's cog edits a separate tile layout (notch.controls); normal
  mode keeps the Control Center's. Reset follows the Control Center again.
- Notch islands draw no bar behind their modules.
- The notch strip picker comes first in Settings → Notch, and an empty
  strip offers a shortcut to it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
mxandClaude Opus 5.5 committed 2026-11-12 17:08:46 +01:00
1 parent 74b6ad50ec
commit 73de4b06a8
9 files changed
+89 -19

No files matched your search

@@ -23,6 +23,16 @@ Singleton {
}
return Object.prototype.hasOwnProperty.call(modules, id) ? modules[id] : null;
}
// The notch's own tile layout. Until it is edited it starts as a copy of
// the Control Center's, without Now Playing (the notch shows media itself).
readonly property var notchModules: {
if (!ConfigService.ready)
return [];
const own = ConfigService.data.notch.controls;
return own.length ? own : ConfigService.data.controlCenter.modules.map(m => m.id === "media" ? Object.assign({}, m, {
enabled: false
}) : m);
}
// Configured size, else the module's default.
function size(module) {
if (!module)