summaryrefslogtreecommitdiff
path: root/services
diff options
context:
space:
mode:
Diffstat (limited to 'services')
-rw-r--r--services/Apps.qml25
1 files changed, 0 insertions, 25 deletions
diff --git a/services/Apps.qml b/services/Apps.qml
deleted file mode 100644
index d561d15..0000000
--- a/services/Apps.qml
+++ /dev/null
@@ -1,25 +0,0 @@
-pragma Singleton
-
-import qs.config
-import qs.utils
-import Quickshell
-
-Searcher {
- id: root
-
- list: DesktopEntries.applications.values.filter(a => !a.noDisplay).sort((a, b) => a.name.localeCompare(b.name))
- useFuzzy: Config.launcher.useFuzzy.apps
-
- function launch(entry: DesktopEntry): void {
- if (entry.runInTerminal)
- Quickshell.execDetached({
- command: ["app2unit", "--", "foot", `${Quickshell.configDir}/assets/wrap_term_launch.sh`, ...entry.command],
- workingDirectory: entry.workingDirectory
- });
- else
- Quickshell.execDetached({
- command: ["app2unit", "--", ...entry.command],
- workingDirectory: entry.workingDirectory
- });
- }
-}