From a15c0c53f0f0891f7dc4981aaa11702cd7197d9e Mon Sep 17 00:00:00 2001 From: retrozinndev Date: Tue, 15 Apr 2025 17:31:55 -0300 Subject: [PATCH] :boom: runner(plugins/shell): use single quotes to run commands instead of normal quotes --- ags/runner/plugins/shell.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ags/runner/plugins/shell.ts b/ags/runner/plugins/shell.ts index d36fc64..ba10df2 100644 --- a/ags/runner/plugins/shell.ts +++ b/ags/runner/plugins/shell.ts @@ -9,7 +9,7 @@ export const PluginShell = { const shell = GLib.getenv("SHELL") || "/usr/bin/env sh"; return new ResultWidget({ - onClick: () => AstalHyprland.get_default().dispatch("exec", `${shell} -c "${command}"`), + onClick: () => AstalHyprland.get_default().dispatch("exec", `${shell} -c '${command}'`), title: `Run: \`${command}\``, description: shell, icon: "utilities-terminal-symbolic"