Revert "[config] By default escape run command."

This reverts commit 83ecbfe127.
This commit is contained in:
Qball Cow 2024-02-22 08:51:04 +01:00
parent 83ecbfe127
commit 118e3a4df4
3 changed files with 440 additions and 272 deletions

View file

@ -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 */

File diff suppressed because it is too large Load diff

View file

@ -580,7 +580,7 @@ The pattern *{host}* is replaced by the selected ssh entry.
Pattern: *{ssh-client}*
Default: *{terminal} -e '{ssh-client}' '{host}' [-p {port}]*
Default: *{terminal} -e {ssh-client} {host}*
`-parse-hosts`
@ -602,7 +602,7 @@ Default: *enabled*
Set command (*{cmd}*) to execute when running an application.
See *PATTERN*.
Default: *'{cmd}'*
Default: *{cmd}*
Example to run applications in a dedicated cgroup with systemd. Requires a
shell to escape and interpolate the unit name correctly.
@ -616,7 +616,7 @@ shell to escape and interpolate the unit name correctly.
Set command to execute when running an application in a shell.
See *PATTERN*.
Default: *{terminal} -e '{cmd}'*
Default: *{terminal} -e {cmd}*
`-run-list-command` *cmd*