revert weird launcher entries with terminal apps

This commit is contained in:
end-4
2026-02-06 21:37:27 +01:00
parent aaff9d5273
commit 9e6c1d7c08
@@ -250,8 +250,7 @@ Singleton {
if (!entry.runInTerminal) if (!entry.runInTerminal)
entry.execute(); entry.execute();
else { else {
print([...Config.options.apps.terminal, "-e", ...entry.command]) Quickshell.execDetached(["bash", '-c', `${Config.options.apps.terminal} -e '${StringUtils.shellSingleQuoteEscape(entry.command.join(' '))}'`]);
Quickshell.execDetached([...Config.options.apps.terminal, "-e", ...entry.command]);
} }
}, },
comment: entry.comment, comment: entry.comment,
@@ -267,7 +266,7 @@ Singleton {
if (!action.runInTerminal) if (!action.runInTerminal)
action.execute(); action.execute();
else { else {
Quickshell.execDetached([...Config.options.apps.terminal, "-e", ...action.command]); Quickshell.execDetached(["bash", '-c', `${Config.options.apps.terminal} -e '${StringUtils.shellSingleQuoteEscape(action.command.join(' '))}'`]);
} }
} }
}); });