Add notch opacity and colour; open plugin panels from the notch strip

- Settings → Notch → Look: opacity (0% glass to 100% solid) and colour
  for the notch, the open notch and the notch-mode launcher.
- Bar popouts and plugin panels add the open notch's screen offset, so
  tooltips and panels from the strip land under their module.
- Opening a plugin panel keeps the notch open; the notch hands keyboard
  focus to the panel and takes it back when it closes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
mxandClaude Opus 5.5 committed 2026-11-12 17:18:58 +01:00
1 parent 73de4b06a8
commit e4ca1f5d9c
12 files changed
+98 -14

No files matched your search

+6 -1
View File
@@ -238,8 +238,9 @@ Singleton {
if (activePopout && activePopout !== owner && typeof activePopout.close === "function")
activePopout.close();
activePopout = owner;
// The notch stays open: its strip hosts plugin widgets whose panels
// open from it. It hands keyboard focus over while one is open.
ShellState.controlCenterOpen = false;
ShellState.notchOpen = false;
ShellState.dashboardOpen = false;
PopoutState.close();
TrayService.close();
@@ -413,6 +414,10 @@ Singleton {
if (ShellState.launcherOpen)
root.closePopout();
}
function onNotchOpenChanged() {
if (!ShellState.notchOpen)
root.closePopout();
}
function onSettingsOpenChanged() {
if (ShellState.settingsOpen)
root.closePopout();