[Doc] Document -drun-url-launcher. (#1328)

This commit is contained in:
TonCherAmi 2021-06-08 21:25:05 +03:00 committed by GitHub
parent 06b80fcba4
commit 62ec84b5e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 1 deletions

View File

@ -1259,6 +1259,12 @@ Build and use a cache with the content of desktop files. Usable for systems with
.PP
If \fB\fCdrun\-use\-desktop\-cache\fR is enabled, rebuild a cache with the content of desktop files.
.PP
\fB\fC\-drun\-url\-launcher\fR \fIcommand\fP
.PP
Command to open a Desktop Entry that is a Link.
.PP
\fB\fC\-pid\fR \fIpath\fP

View File

@ -741,6 +741,10 @@ Build and use a cache with the content of desktop files. Usable for systems with
If `drun-use-desktop-cache` is enabled, rebuild a cache with the content of desktop files.
`-drun-url-launcher` *command*
Command to open a Desktop Entry that is a Link.
`-pid` *path*
Make **rofi** create a pid file and check this on startup. The pid file prevents multiple **rofi** instances from running simultaneously. This is useful when running **rofi** from a key-binding daemon.

View File

@ -143,7 +143,7 @@ static XrmOption xrmOptions[] = {
{ xrm_String, "drun-display-format", { .str = &config.drun_display_format }, NULL,
"DRUN format string. (Supports: generic,name,comment,exec,categories)", CONFIG_DEFAULT },
{ xrm_String, "drun-url-launcher", { .str = &config.drun_url_launcher }, NULL,
"Command to open an Desktop Entry that is a Link.", CONFIG_DEFAULT },
"Command to open a Desktop Entry that is a Link.", CONFIG_DEFAULT },
{ xrm_String, "file-browser-directory", { .str = &config.file_browser_directory }, NULL,
"Directory the file browser starts in", CONFIG_DEFAULT },