diff --git a/dots/.config/quickshell/ii/services/LauncherSearch.qml b/dots/.config/quickshell/ii/services/LauncherSearch.qml index 787da3090..12fc67de8 100644 --- a/dots/.config/quickshell/ii/services/LauncherSearch.qml +++ b/dots/.config/quickshell/ii/services/LauncherSearch.qml @@ -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(' '))}'`]); } } });