summaryrefslogtreecommitdiffstats
path: root/doc/rofi-script.5
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2021-06-07 23:13:21 +0200
committerDave Davenport <qball@gmpclient.org>2021-06-07 23:13:21 +0200
commit5eaa5572ef3944747d88c1d5506c934409383f39 (patch)
treed2558e9f14a4e42bddddf57c40f9abf61429067c /doc/rofi-script.5
parentc1244b066f975e15099a7e72b7055a5024340e60 (diff)
[Manpage] Update rofi.1
Diffstat (limited to 'doc/rofi-script.5')
-rw-r--r--doc/rofi-script.512
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/rofi-script.5 b/doc/rofi-script.5
index 96aef1e2..bc6b98bc 100644
--- a/doc/rofi-script.5
+++ b/doc/rofi-script.5
@@ -64,6 +64,8 @@ Rofi sets the following environment variable when executing the script:
.SS \fB\fCROFI\_RETV\fR
.PP
An integer number with the current state:
+
+.RS
.IP \(bu 2
\fB0\fP: Initial call of script.
.IP \(bu 2
@@ -73,6 +75,8 @@ An integer number with the current state:
.IP \(bu 2
\fB10\-28\fP: Custom keybinding 1\-19 ( need to be explicitely enabled by script ).
+.RE
+
.SS \fB\fCROFI\_INFO\fR
.PP
Environment get set when selected entry get set with the property value of the 'info' row option, if set.
@@ -96,6 +100,8 @@ For example to set the prompt:
.PP
The following extra options exists:
+
+.RS
.IP \(bu 2
\fBprompt\fP: Update the prompt text.
.IP \(bu 2
@@ -113,6 +119,8 @@ The following extra options exists:
.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.
+.RE
+
.SH Parsing row options
.PP
Extra options for individual rows can be set.
@@ -132,6 +140,8 @@ For example:
.PP
The following options are supported:
+
+.RS
.IP \(bu 2
\fBicon\fP: Set the icon for that row.
.IP \(bu 2
@@ -141,6 +151,8 @@ The following options are supported:
.IP \(bu 2
\fBinfo\fP: Info that, on selection, gets placed in the \fB\fCROFI\_INFO\fR environment variable. This entry does not get searched.
+.RE
+
.PP
multiple entries can be passed using the \fB\fC\\x1f\fR separator.