Merge branch 'main' of github.com:noctalia-dev/noctalia-shell

This commit is contained in:
ItsLemmy
2025-10-26 17:16:44 -04:00
@@ -203,15 +203,15 @@ Item {
if (Settings.data.appLauncher.sortByMostUsed)
recordUsage(app)
if (Settings.data.appLauncher.customLaunchPrefixEnabled && Settings.data.appLauncher.customLaunchPrefix) {
// Use custom launch prefix
const prefix = Settings.data.appLauncher.customLaunchPrefix.split(" ")
if (app.runInTerminal) {
const command = prefix.concat([app.id + ".desktop"])
Logger.d("ApplicationsPlugin", "Launching via custom prefix (with desktop id): " + command.join(" "))
const terminal = Settings.data.appLauncher.terminalCommand.split(" ")
const command = prefix.concat(terminal.concat(app.command))
Quickshell.execDetached(command)
} else {
const command = prefix.concat(app.command)
Logger.d("ApplicationsPlugin", "Launching via custom prefix (with command): " + command.join(" "))
Quickshell.execDetached(command)
}
} else if (Settings.data.appLauncher.useApp2Unit && app.id) {