💥 runner(plugins/shell): use single quotes to run commands instead of normal quotes
This commit is contained in:
@@ -9,7 +9,7 @@ export const PluginShell = {
|
|||||||
const shell = GLib.getenv("SHELL") || "/usr/bin/env sh";
|
const shell = GLib.getenv("SHELL") || "/usr/bin/env sh";
|
||||||
|
|
||||||
return new ResultWidget({
|
return new ResultWidget({
|
||||||
onClick: () => AstalHyprland.get_default().dispatch("exec", `${shell} -c "${command}"`),
|
onClick: () => AstalHyprland.get_default().dispatch("exec", `${shell} -c '${command}'`),
|
||||||
title: `Run: \`${command}\``,
|
title: `Run: \`${command}\``,
|
||||||
description: shell,
|
description: shell,
|
||||||
icon: "utilities-terminal-symbolic"
|
icon: "utilities-terminal-symbolic"
|
||||||
|
|||||||
Reference in New Issue
Block a user