Edit the notch's tiles in place instead of in the Control Center
The notch's cog now switches its middle column into edit mode (drag to move, corner to resize, badge to remove, chips to add), saving only to notch.controls. "Follow Control Center" clears it to mirror the Control Center again. The Control Center is back to editing only its own layout. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
efaace0f15
commit
de0295e18e
5 files changed
+346
-60
No files matched your search
@@ -101,35 +101,6 @@ Singleton {
|
||||
notchOpen = false;
|
||||
return ConfigService.setValue("notch.enabled", !notchMode);
|
||||
}
|
||||
// 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;
|
||||
notchOpen = false;
|
||||
wallpaperPickerOpen = false;
|
||||
overviewOpen = false;
|
||||
dashboardOpen = false;
|
||||
launcherOpen = false;
|
||||
settingsOpen = false;
|
||||
controlCenterScreen = notchScreen || activeScreen();
|
||||
controlCenterEditRequested = true;
|
||||
controlCenterTarget = notchMode ? "notch" : "main";
|
||||
controlCenterOpen = true;
|
||||
}
|
||||
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
|
||||
property var overviewScreen: null
|
||||
|
||||
Reference in new issue
Block a user