mirror of
https://github.com/lbonn/rofi
synced 2024-11-22 20:03:03 +00:00
parent
1a5e9e9af6
commit
e74c2dc253
2 changed files with 16 additions and 0 deletions
|
@ -1340,6 +1340,15 @@ replaced at runtime:
|
||||||
|
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
|
.PP
|
||||||
|
It processes the string as follows: \fB\fC{key}\fR
|
||||||
|
is replaced by its value, if \fB\fC{key}\fR is not set it is removed. If the \fB\fC{key}\fR
|
||||||
|
is in between \fB\fC[]\fR all the text between \fB\fC[]\fR is removed if \fB\fC{key}\fR is not set.
|
||||||
|
Otherwise key is replaced and the \fB\fC[]\fR are removed.
|
||||||
|
|
||||||
|
.PP
|
||||||
|
For example: \fB\fC{ssh-client} [-p {port}] {host}\fR
|
||||||
|
|
||||||
.SH THEMING
|
.SH THEMING
|
||||||
.PP
|
.PP
|
||||||
Please see \fBrofi-theme(5)\fP manpage for more information on theming.
|
Please see \fBrofi-theme(5)\fP manpage for more information on theming.
|
||||||
|
|
|
@ -880,6 +880,13 @@ replaced at runtime:
|
||||||
- `{cmd}`: the command to execute
|
- `{cmd}`: the command to execute
|
||||||
- `{window}`: the window ID of the selected window (in `window-command`)
|
- `{window}`: the window ID of the selected window (in `window-command`)
|
||||||
|
|
||||||
|
It processes the string as follows: `{key}`
|
||||||
|
is replaced by its value, if `{key}` is not set it is removed. If the `{key}`
|
||||||
|
is in between `[]` all the text between `[]` is removed if `{key}` is not set.
|
||||||
|
Otherwise key is replaced and the `[]` are removed.
|
||||||
|
|
||||||
|
For example: `{ssh-client} [-p {port}] {host}`
|
||||||
|
|
||||||
## THEMING
|
## THEMING
|
||||||
|
|
||||||
Please see **rofi-theme(5)** manpage for more information on theming.
|
Please see **rofi-theme(5)** manpage for more information on theming.
|
||||||
|
|
Loading…
Reference in a new issue