summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorQball Cow <qball@blame.services>2024-02-22 08:43:26 +0100
committerQball Cow <qball@blame.services>2024-02-22 08:45:04 +0100
commit83ecbfe127aebb2462de1ab626406d62cab80cdf (patch)
tree2b837e13ad8e4102a2e10f885a255c28e046354f /config
parent1c8159c4c893ff558b28345a82270a142da3fc5d (diff)
[config] By default escape run command.
Diffstat (limited to 'config')
-rw-r--r--config/config.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/config/config.c b/config/config.c
index 7bde9703..1c7c6d39 100644
--- a/config/config.c
+++ b/config/config.c
@@ -50,13 +50,13 @@ Settings config = {
.terminal_emulator = "rofi-sensible-terminal",
.ssh_client = "ssh",
/** Command when executing ssh. */
- .ssh_command = "{terminal} -e {ssh-client} {host} [-p {port}]",
+ .ssh_command = "{terminal} -e '{ssh-client}' '{host}' [-p {port}]",
/** Command when running */
- .run_command = "{cmd}",
+ .run_command = "'{cmd}'",
/** Command used to list executable commands. empty -> internal */
.run_list_command = "",
/** Command executed when running application in terminal */
- .run_shell_command = "{terminal} -e {cmd}",
+ .run_shell_command = "{terminal} -e '{cmd}'",
/** Command executed on accep-entry-custom for window modus */
.window_command = "wmctrl -i -R {window}",
/** No default icon theme, we search Adwaita and gnome as fallback */