1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-18 13:54:36 -05:00

[config] By default escape run command.

This commit is contained in:
Qball Cow 2024-02-22 08:43:26 +01:00
parent 1c8159c4c8
commit 83ecbfe127
3 changed files with 266 additions and 434 deletions

View file

@ -50,13 +50,13 @@ Settings config = {
.terminal_emulator = "rofi-sensible-terminal", .terminal_emulator = "rofi-sensible-terminal",
.ssh_client = "ssh", .ssh_client = "ssh",
/** Command when executing 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 */ /** Command when running */
.run_command = "{cmd}", .run_command = "'{cmd}'",
/** Command used to list executable commands. empty -> internal */ /** Command used to list executable commands. empty -> internal */
.run_list_command = "", .run_list_command = "",
/** Command executed when running application in terminal */ /** 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 */ /** Command executed on accep-entry-custom for window modus */
.window_command = "wmctrl -i -R {window}", .window_command = "wmctrl -i -R {window}",
/** No default icon theme, we search Adwaita and gnome as fallback */ /** 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}* Pattern: *{ssh-client}*
Default: *{terminal} -e {ssh-client} {host}* Default: *{terminal} -e '{ssh-client}' '{host}' [-p {port}]*
`-parse-hosts` `-parse-hosts`
@ -602,7 +602,7 @@ Default: *enabled*
Set command (*{cmd}*) to execute when running an application. Set command (*{cmd}*) to execute when running an application.
See *PATTERN*. See *PATTERN*.
Default: *{cmd}* Default: *'{cmd}'*
Example to run applications in a dedicated cgroup with systemd. Requires a Example to run applications in a dedicated cgroup with systemd. Requires a
shell to escape and interpolate the unit name correctly. 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. Set command to execute when running an application in a shell.
See *PATTERN*. See *PATTERN*.
Default: *{terminal} -e {cmd}* Default: *{terminal} -e '{cmd}'*
`-run-list-command` *cmd* `-run-list-command` *cmd*