Put the whole launcher inside the notch, the pocket-dots way
The launcher's contents (search, results, app grid, commands, clipboard history and emoji) move into LauncherView, which the launcher window hosts normally and the notch hosts in notch mode. In the notch it is one more face of the same shape: the search sits in the band beside the clock, sized to the band so it never clips, and the notch springs wider and then down to fit whatever is below (springs as on pocket-dots, scaled by the notch speed settings). The bar window grows tall only while it is open, with input still masked to the shapes. The separate window, the hand-over between them and the compact search are gone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
415b1b3cd6
commit
065b728af6
7 files changed
+720
-870
No files matched your search
@@ -71,7 +71,6 @@ Singleton {
|
||||
readonly property real notchPillWidth: MediaService.playing ? 236 : 128
|
||||
property var notchScreen: null
|
||||
property var notchWindow: null
|
||||
property var launcherWindow: null
|
||||
// "main" is the three-column panel; "computer" is the full Performance view.
|
||||
property string notchView: "main"
|
||||
function openNotch() {
|
||||
@@ -129,22 +128,8 @@ Singleton {
|
||||
// "emoji" is the Emoji Picker.
|
||||
// Changing it on an open launcher switches in place.
|
||||
property string launcherMode: "apps"
|
||||
// Notch mode opens the launcher in the notch pill itself, the way a
|
||||
// notification widens it. While the search is empty it stays there
|
||||
// (notchSearch); typing or browsing hands over to the launcher window,
|
||||
// which grows down from the widened pill. Both share the query.
|
||||
property string launcherQuery: ""
|
||||
property bool launcherBrowse: false
|
||||
readonly property bool notchLauncher: notchMode && launcherOpen && launcherMode === "apps"
|
||||
readonly property bool notchSearch: notchLauncher && launcherQuery === "" && !launcherBrowse
|
||||
onLauncherOpenChanged: {
|
||||
launcherQuery = "";
|
||||
launcherBrowse = false;
|
||||
}
|
||||
onLauncherModeChanged: {
|
||||
launcherQuery = "";
|
||||
launcherBrowse = false;
|
||||
}
|
||||
// Notch mode opens the launcher inside the notch itself (every mode).
|
||||
readonly property bool notchLauncher: notchMode && launcherOpen
|
||||
function activeScreen() {
|
||||
return ScreenService.active;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user