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)
entry.execute();
else {
print([...Config.options.apps.terminal, "-e", ...entry.command])
Quickshell.execDetached([...Config.options.apps.terminal, "-e", ...entry.command]);
Quickshell.execDetached(["bash", '-c', `${Config.options.apps.terminal} -e '${StringUtils.shellSingleQuoteEscape(entry.command.join(' '))}'`]);
}
},
comment: entry.comment,
@@ -267,7 +266,7 @@ Singleton {
if (!action.runInTerminal)
action.execute();
else {
Quickshell.execDetached([...Config.options.apps.terminal, "-e", ...action.command]);
Quickshell.execDetached(["bash", '-c', `${Config.options.apps.terminal} -e '${StringUtils.shellSingleQuoteEscape(action.command.join(' '))}'`]);
}
}
});