mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-25 13:55:34 -05:00
[Doc] Mention location of scripts in manpage.
This commit is contained in:
parent
bb5868199f
commit
40ecbe018e
2 changed files with 31 additions and 0 deletions
|
@ -206,6 +206,27 @@ In bash the best way to do this is using \fB\fCcoproc\fR\&.
|
||||||
If you use the \fB\fCdash\fR shell for your script, take special care with how dash handles escaped values for the separators.
|
If you use the \fB\fCdash\fR shell for your script, take special care with how dash handles escaped values for the separators.
|
||||||
See issue #1201 on github.
|
See issue #1201 on github.
|
||||||
|
|
||||||
|
.SH Script locations
|
||||||
|
.PP
|
||||||
|
To specify a script there are the following options:
|
||||||
|
|
||||||
|
.RS
|
||||||
|
.IP \(bu 2
|
||||||
|
Specify an absolute path to the script.
|
||||||
|
.IP \(bu 2
|
||||||
|
The script is executable and located in your $PATH
|
||||||
|
|
||||||
|
.RE
|
||||||
|
|
||||||
|
.PP
|
||||||
|
Scripts located in the following location are loaded on startup:
|
||||||
|
|
||||||
|
.RS
|
||||||
|
.IP \(bu 2
|
||||||
|
The script is in \fB\fC$XDG_CONFIG_PATH/rofi/scripts/\fR, this is usually \fB\fC~/.config/rofi/scripts/\fR\&.
|
||||||
|
|
||||||
|
.RE
|
||||||
|
|
||||||
.SH SEE ALSO
|
.SH SEE ALSO
|
||||||
.PP
|
.PP
|
||||||
rofi(1), rofi-sensible-terminal(1), dmenu(1), rofi-theme(5), rofi-theme-selector(1)
|
rofi(1), rofi-sensible-terminal(1), dmenu(1), rofi-theme(5), rofi-theme-selector(1)
|
||||||
|
|
|
@ -138,6 +138,16 @@ In bash the best way to do this is using `coproc`.
|
||||||
If you use the `dash` shell for your script, take special care with how dash handles escaped values for the separators.
|
If you use the `dash` shell for your script, take special care with how dash handles escaped values for the separators.
|
||||||
See issue #1201 on github.
|
See issue #1201 on github.
|
||||||
|
|
||||||
|
## Script locations
|
||||||
|
|
||||||
|
To specify a script there are the following options:
|
||||||
|
|
||||||
|
* Specify an absolute path to the script.
|
||||||
|
* The script is executable and located in your $PATH
|
||||||
|
|
||||||
|
Scripts located in the following location are loaded on startup:
|
||||||
|
|
||||||
|
* The script is in `$XDG_CONFIG_PATH/rofi/scripts/`, this is usually `~/.config/rofi/scripts/`.
|
||||||
|
|
||||||
## SEE ALSO
|
## SEE ALSO
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue