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
@@ -104,6 +104,8 @@ Singleton {
|
||||
// The notch's cog edits its tiles in the Control Center editor, then the
|
||||
// notch comes back once the Control Center closes.
|
||||
property bool controlCenterEditRequested: false
|
||||
// "notch" while the Control Center edits the notch's own tile layout.
|
||||
property string controlCenterTarget: "main"
|
||||
property bool notchReturn: false
|
||||
function editControlCenter() {
|
||||
notchReturn = notchMode;
|
||||
@@ -115,12 +117,18 @@ Singleton {
|
||||
settingsOpen = false;
|
||||
controlCenterScreen = notchScreen || activeScreen();
|
||||
controlCenterEditRequested = true;
|
||||
controlCenterTarget = notchMode ? "notch" : "main";
|
||||
controlCenterOpen = true;
|
||||
}
|
||||
onControlCenterOpenChanged: if (!controlCenterOpen && notchReturn) {
|
||||
notchReturn = false;
|
||||
if (notchMode)
|
||||
Qt.callLater(openNotch);
|
||||
onControlCenterOpenChanged: {
|
||||
if (controlCenterOpen)
|
||||
return;
|
||||
controlCenterTarget = "main";
|
||||
if (notchReturn) {
|
||||
notchReturn = false;
|
||||
if (notchMode)
|
||||
Qt.callLater(openNotch);
|
||||
}
|
||||
}
|
||||
// Workspace overview (SUPER+Tab): a drawer of live workspace thumbnails.
|
||||
property bool overviewOpen: false
|
||||
|
||||
Reference in new issue
Block a user