feat: app launcher

This commit is contained in:
2026-02-05 18:43:54 +02:00
parent 887b477c5e
commit 65b87cb9c6
6 changed files with 440 additions and 3 deletions

View File

@@ -49,6 +49,12 @@ Item {
});
return true;
}
if (iconSources[selectedIndex] === "item.png") {
ShellStateManager.openAppLauncher({
source: "Topbar"
});
return true;
}
}
return false;
}
@@ -84,7 +90,7 @@ Item {
anchors.centerIn: parent
selected: topbar.selectedIndex == repeatitem.index
iconSource: topbar.iconSources[repeatitem.index]
showSoul: !topbar.manager.quickSettingsOpen
showSoul: !topbar.manager.quickSettingsOpen && !topbar.manager.appLauncherOpen
}
MouseArea {
@@ -96,6 +102,11 @@ Item {
source: "Topbar"
});
}
if (topbar.iconSources[repeatitem.index] === "item.png") {
ShellStateManager.openAppLauncher({
source: "Topbar"
});
}
}
}
}