From be54ba2f7c645a849901a3907276a37045475e77 Mon Sep 17 00:00:00 2001 From: TonCherAmi Date: Tue, 8 Jun 2021 21:25:05 +0300 Subject: [PATCH] [Doc] Document -drun-url-launcher. (#1328) --- doc/rofi.1 | 6 ++++++ doc/rofi.1.markdown | 4 ++++ source/xrmoptions.c | 2 +- 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/doc/rofi.1 b/doc/rofi.1 index f8a14fd7..cd6a7dbd 100644 --- a/doc/rofi.1 +++ b/doc/rofi.1 @@ -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 diff --git a/doc/rofi.1.markdown b/doc/rofi.1.markdown index 66b7d8e7..f9e384c4 100644 --- a/doc/rofi.1.markdown +++ b/doc/rofi.1.markdown @@ -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. diff --git a/source/xrmoptions.c b/source/xrmoptions.c index 18837ae0..caea05f2 100644 --- a/source/xrmoptions.c +++ b/source/xrmoptions.c @@ -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 },