Add a notch mode that splits the bar around a pocket-dots style notch

Settings → Notch switches it on. The bar becomes left and right islands
with a notch at the top centre. Super+C, Super+X and a click on the notch
open a three-column panel: dashboard pages on the left (Media,
Performance, Calendar; the wheel switches them), the Control Center tiles
and weather in the middle, and notifications on the right. The
Performance card opens the full "Your computer" view. The launcher drops
out of the notch.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
mxandClaude Opus 5.5 committed 2026-11-12 16:39:35 +01:00
1 parent 178041edf9
commit 5217af4f67
20 files changed
+919 -14

No files matched your search

+6
View File
@@ -302,6 +302,8 @@ PanelWindow {
return osd;
case "dashboard":
return dashboardPage;
case "notch":
return notchPage;
case "plugins":
return pluginsPage;
case "launcher":
@@ -422,6 +424,10 @@ PanelWindow {
id: dashboardPage
Pages.Dashboard {}
}
Component {
id: notchPage
Pages.Notch {}
}
Component {
id: lockPage
Pages.Lock {}
+43
View File
@@ -0,0 +1,43 @@
import QtQuick
import "../controls"
import "../../components"
import "../../core"
import "../../services"
SettingsPage {
id: root
readonly property var options: ConfigService.data.notch
SettingsSection {
title: "Notch"
description: "Splits the bar into side islands with a notch at the top centre. Super+C, Super+X and a click on the notch open it: dashboard pages on the left (scroll to switch), controls and weather in the middle, notifications on the right. The launcher drops out of it."
PreferenceToggle {
label: "Notch"
description: root.options.enabled ? "On: notch mode" : "Off: the full bar"
icon: "󰹑"
setting: "notch.enabled"
}
}
SettingsSection {
title: "Opening"
enabled: root.options.enabled
PreferenceToggle {
label: "Open on Media while audio plays"
description: "Otherwise it opens on the last page"
icon: "󰝚"
setting: "notch.mediaFirst"
}
SettingRow {
title: "Preview"
icon: "󰈈"
GlassButton {
objectName: "notchOpenButton"
text: "Open notch"
enabled: root.options.enabled
onClicked: ShellState.openNotch()
}
}
}
SettingNote {
text: "The middle column uses your Control Center tiles; change them in Control Center → Edit Controls."
}
}