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:
1 parent
178041edf9
commit
5217af4f67
20 files changed
+919
-14
No files matched your search
@@ -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."
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user