mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-25 13:55:34 -05:00
[config] By default escape run command.
This commit is contained in:
parent
1c8159c4c8
commit
83ecbfe127
3 changed files with 266 additions and 434 deletions
|
@ -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 */
|
||||||
|
|
688
doc/rofi.1
688
doc/rofi.1
File diff suppressed because it is too large
Load diff
|
@ -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*
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue