From 58615b809e8f789a6c4f84af4bbaa6d661ca5de4 Mon Sep 17 00:00:00 2001 From: anders130 <93037023+anders130@users.noreply.github.com> Date: Wed, 10 Sep 2025 13:19:26 +0200 Subject: launcher: add config option for hiding applications (#568) * feat(launcher): add config option for excluding applications from launcher * fix(launcher): rename excludedApps to hiddenApps * chore: add example to readme * fix --------- Co-authored-by: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> --- modules/launcher/services/Apps.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/launcher') diff --git a/modules/launcher/services/Apps.qml b/modules/launcher/services/Apps.qml index 9f87d50..229bdae 100644 --- a/modules/launcher/services/Apps.qml +++ b/modules/launcher/services/Apps.qml @@ -69,7 +69,7 @@ Searcher { Variants { id: variants - model: [...DesktopEntries.applications.values].sort((a, b) => a.name.localeCompare(b.name)) + model: [...DesktopEntries.applications.values].filter(a => !Config.launcher.hiddenApps.includes(a.id)).sort((a, b) => a.name.localeCompare(b.name)) QtObject { required property DesktopEntry modelData -- cgit v1.2.3-freya