summaryrefslogtreecommitdiffstats
path: root/doc/rofi-script.5
diff options
context:
space:
mode:
authorDave Davenport <qball@blame.services>2022-03-02 22:06:04 +0100
committerDave Davenport <qball@blame.services>2022-03-02 22:06:04 +0100
commit497d18d108bb6e810c61ef07d864514fca323474 (patch)
tree2da614fc4f3586b5dcdd475daf1c06162775501c /doc/rofi-script.5
parent1d4a8227b2e7aa50a73d08d29cd78f3a6fa2b025 (diff)
[Script] Support a data option that get passed to next execution.
fixes: #1601
Diffstat (limited to 'doc/rofi-script.5')
-rw-r--r--doc/rofi-script.56
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/rofi-script.5 b/doc/rofi-script.5
index 12ce7cde..3ea713c3 100644
--- a/doc/rofi-script.5
+++ b/doc/rofi-script.5
@@ -82,6 +82,10 @@ An integer number with the current state:
.PP
Environment get set when selected entry get set with the property value of the 'info' row option, if set.
+.SS \fB\fCROFI\_DATA\fR
+.PP
+Environment get set when script sets \fB\fCdata\fR option in header.
+
.SH Passing mode options
.PP
Extra options, like setting the prompt, can be set by the script.
@@ -119,6 +123,8 @@ The following extra options exists:
\fBno\-custom\fP: If set to 'true'; only accept listed entries, ignore custom input.
.IP \(bu 2
\fBuse\-hot\-keys\fP: If set to true, it enabled the Custom keybindings for script. Warning this breaks the normal rofi flow.
+.IP \(bu 2
+\fBdata\fP: Passed data to the next execution of the script via \fBROFI\_DATA\fP\&.
.RE