Show notifications by widening the notch in notch mode
The collapsed notch grows sideways for a new notification: the clock and media stay at the left end and the banner fills the right, in the notch's own fill. Left click runs the default action, right click moves it to the notch's list, hover holds it. The drop-down banners stay off in notch mode. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
ea8fc29544
commit
f65c475455
2 files changed
+186
-5
No files matched your search
@@ -21,10 +21,11 @@ PanelWindow {
|
||||
// The OSD capsule takes this spot while it is up; banners wait behind it.
|
||||
readonly property var osd: ShellState.osdWindow
|
||||
readonly property bool yielding: !!osd && osd.shown && osd.options.position === options.position
|
||||
readonly property bool shown: NotificationService.active && items.length > 0 && !yielding && !ShellState.controlCenterOpen && !ShellState.notchOpen
|
||||
readonly property bool shown: NotificationService.active && items.length > 0 && !yielding && !ShellState.controlCenterOpen && !ShellState.notchMode
|
||||
onItemsChanged: if (items.length > 0 && !drawer.shown)
|
||||
targetScreen = ScreenService.active
|
||||
// Control Center lists everything; banners would cover it.
|
||||
// Control Center lists everything; banners would cover it. In notch mode
|
||||
// the notch pill shows banners instead.
|
||||
Connections {
|
||||
target: ShellState
|
||||
function onControlCenterOpenChanged() {
|
||||
|
||||
Reference in new issue
Block a user