summaryrefslogtreecommitdiffstats
path: root/doc/rofi-script.5
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2020-04-22 23:41:25 +0200
committerDave Davenport <qball@gmpclient.org>2020-04-22 23:41:25 +0200
commit906b520daf24780cb019af5cd5cad05cf38ebc2c (patch)
treefc732916c4597cbc23967b34503c45a23abc184b /doc/rofi-script.5
parentb86109295dd2cd40ea6216b2df39beae59e28922 (diff)
[Script] Add no-custom mode.
Diffstat (limited to 'doc/rofi-script.5')
-rw-r--r--doc/rofi-script.514
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/rofi-script.5 b/doc/rofi-script.5
index 201d6cb2..a2daf9a9 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
+.RE
+
.SH Passing mode options
.PP
Extra options, like setting the prompt, can be set by the script.
@@ -92,6 +96,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
@@ -104,6 +110,10 @@ The following extra options exists:
\fBactive\fP: Mark rows as active. (for syntax see the active option in dmenu mode)
.IP \(bu 2
\fBdelim\fP: Set the delimiter for for next rows. Default is '\\n' and this option should finish with this. Only call this on first call of script, it is remembered for consecutive calls.
+.IP \(bu 2
+\fBno\-custom\fP: Only accept listed entries, ignore custom input.
+
+.RE
.SH Parsing row options
.PP
@@ -124,6 +134,8 @@ For example:
.PP
The following options are supported:
+
+.RS
.IP \(bu 2
\fBicon\fP: Set the icon for that row.
.IP \(bu 2
@@ -131,6 +143,8 @@ The following options are supported:
.IP \(bu 2
\fBnonselectable\fP: If true the row cannot activated.
+.RE
+
.SH SEE ALSO
.PP
rofi(1), rofi\-sensible\-terminal(1), dmenu(1), rofi\-theme(5), rofi\-theme\-selector(1)