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:
1 parent
74b6ad50ec
commit
73de4b06a8
9 files changed
+89
-19
No files matched your search
@@ -17,7 +17,7 @@ Singleton {
|
||||
if (!ConfigService.ready)
|
||||
return [];
|
||||
if (ShellState.controlCenterOpen || ShellState.notchOpen)
|
||||
return ConfigService.data.controlCenter.modules.filter(m => m.enabled && ["brightness", "nightLight", "dnd", "profiles", "power"].includes(m.id)).map(m => m.id);
|
||||
return ((ShellState.notchOpen || ShellState.controlCenterTarget === "notch") && ConfigService.data.notch.controls.length ? ConfigService.data.notch.controls : ConfigService.data.controlCenter.modules).filter(m => m.enabled && ["brightness", "nightLight", "dnd", "profiles", "power"].includes(m.id)).map(m => m.id);
|
||||
if (ShellState.dashboardOpen)
|
||||
return ["power"];
|
||||
if (!ShellState.settingsOpen)
|
||||
|
||||
Reference in new issue
Block a user