summaryrefslogtreecommitdiffstats
path: root/doc/rofi.1
diff options
context:
space:
mode:
Diffstat (limited to 'doc/rofi.1')
-rw-r--r--doc/rofi.186
1 files changed, 11 insertions, 75 deletions
diff --git a/doc/rofi.1 b/doc/rofi.1
index 21ea57ab..160108f6 100644
--- a/doc/rofi.1
+++ b/doc/rofi.1
@@ -68,8 +68,6 @@ Markup support can be enabled, see CONFIGURATION options.
.SH CONFIGURATION
.PP
There are currently three methods of setting configuration options (evaluated in order below):
-
-.RS
.IP \(bu 2
System configuration file (for example \fB\fC/etc/rofi.rasi\fR or old format \fB\fC/etc/rofi.conf\fR).
.IP \(bu 2
@@ -86,8 +84,6 @@ This is the recommended way of configuring \fBrofi\fP\&.
.IP \(bu 2
Command\-line options: Arguments passed to \fBrofi\fP\&.
-.RE
-
.PP
\fBTIP\fP: To get a template config file run: \fB\fCrofi \-dump\-xresources > rofi\-example.config\fR\&.
\fBNOTE\fP: In version 1.4.0 we support configuration in a new format, a config for this can be generated by: \fB\fCrofi
@@ -133,8 +129,6 @@ rofi \-dump\-xresources
.PP
The configuration system supports the following types:
-
-.RS
.IP \(bu 2
string
.IP \(bu 2
@@ -144,8 +138,6 @@ char
.IP \(bu 2
Boolean
-.RE
-
.PP
Boolean options have a non\-default command\-line syntax. Example to enable option X:
@@ -193,8 +185,6 @@ This does not validate all passed values (for example, colors).
.PP
Specify the number of threads \fBrofi\fP should use:
-
-.RS
.IP \(bu 2
0: Autodetect the number of supported hardware threads.
.IP \(bu 2
@@ -202,8 +192,6 @@ Specify the number of threads \fBrofi\fP should use:
.IP \(bu 2
2..N: Specify the maximum number of threads to use in the thread pool.
-.RE
-
.PP
\fB\fC\-dmenu\fR
@@ -390,8 +378,6 @@ fallback themes.
.PP
Specify the matching algorithm used.
Current the following methods are supported.
-
-.RS
.IP \(bu 2
\fBnormal\fP: match the int string
.IP \(bu 2
@@ -401,8 +387,6 @@ Current the following methods are supported.
.IP \(bu 2
\fBfuzzy\fP: do a fuzzy match
-.RE
-
.PP
Default: \fInormal\fP
@@ -427,8 +411,6 @@ Only show desktop files that are present in the listed categories.
.PP
When using drun, match only with the specified Desktop entry fields.
The different fields are:
-
-.RS
.IP \(bu 2
\fBname\fP: the application's name
.IP \(bu 2
@@ -444,17 +426,13 @@ The different fields are:
.PP
\fBall\fP: all of the above
.PP
-Default: \fIname,generic,exec,categories\fP
-
-.RE
+Default: \fIname,generic,exec,categories,keywords\fP
.PP
\fB\fC\-drun\-display\-format\fR
.PP
The format string for the drun dialog:
-
-.RS
.IP \(bu 2
\fBname\fP: the application's name
.IP \(bu 2
@@ -466,8 +444,6 @@ The format string for the drun dialog:
.IP \(bu 2
\fBcomment\fP: the application comment
-.RE
-
.PP
Pango markup can be used to formatting the output.
@@ -504,8 +480,6 @@ Default: false
.PP
When using window mode, match only with the specified fields.
The different fields are:
-
-.RS
.IP \(bu 2
\fBtitle\fP: window's title
.IP \(bu 2
@@ -523,8 +497,6 @@ The different fields are:
.PP
Default: \fIall\fP
-.RE
-
.PP
\fB\fC\-matching\-negate\-char\fR \fIchar\fP
@@ -707,8 +679,6 @@ When one entry is left, automatically select it.
Select monitor to display \fBrofi\fP on.
It accepts as input: \fIprimary\fP (if primary output is set), the \fIxrandr\fP output name, or integer number (in order of
detection). Negative numbers are handled differently:
-
-.RS
.IP \(bu 2
\fB\-1\fP: the currently focused monitor.
.IP \(bu 2
@@ -725,8 +695,6 @@ behavior.)
.PP
Default: \fI\-5\fP
-.RE
-
.PP
See \fB\fCrofi \-h\fR output for the detected monitors, their position, and size.
@@ -765,6 +733,15 @@ Override the default DPI setting.
If set to \fB\fC0\fR, it tries to auto\-detect based on X11 screen size (similar to i3 and GTK).
If set to \fB\fC1\fR, it tries to auto\-detect based on the size of the monitor that rofi is displayed on (similar to latest Qt 5).
+.PP
+\fB\fC\-selected\-row\fR \fIselected row\fP
+
+.PP
+Select a certain row.
+
+.PP
+Default: \fI0\fP
+
.SS PATTERN setting
.PP
\fB\fC\-terminal\fR
@@ -868,8 +845,6 @@ Format what is being displayed for windows.
.PP
\fIfield\fP:
-
-.RS
.IP \(bu 2
\fBw\fP: desktop name
.IP \(bu 2
@@ -881,8 +856,6 @@ Format what is being displayed for windows.
.IP \(bu 2
\fBc\fP: class
-.RE
-
.PP
\fIlen\fP: maximum field length (0 for auto\-size). If length and window \fIwidth\fP are negative, field length is \fIwidth \- len\fP\&.
if length is positive, the entry will be truncated or padded to fill that length.
@@ -943,15 +916,11 @@ This setting can be changed at runtime (see \fB\fC\-kb\-toggle\-sort\fR).
.PP
There are 2 sorting method:
-
-.RS
.IP \(bu 2
levenshtein (Default)
.IP \(bu 2
fzf sorting.
-.RE
-
.SS Dmenu specific
.PP
\fB\fC\-sep\fR \fIseparator\fP
@@ -987,15 +956,6 @@ echo "a|b|c|d|e" | rofi \-sep '|' \-dmenu \-p "monkey:"
Default: \fIdmenu\fP
.PP
-\fB\fC\-selected\-row\fR \fIselected row\fP
-
-.PP
-Select a certain row.
-
-.PP
-Default: \fI0\fP
-
-.PP
\fB\fC\-l\fR \fInumber of lines to show\fP
.PP
@@ -1024,8 +984,6 @@ Makes dmenu searches case\-insensitive
.PP
Active row, mark \fIX\fP as active. Where \fIX\fP is a comma\-separated list of python(1)\-style indices and ranges, e.g. indices start at 0, \-1 refers to the last row with \-2 preceding it, ranges are left\-open and right\-close, and so on. You can specify:
-
-.RS
.IP \(bu 2
A single row: '5'
.IP \(bu 2
@@ -1037,8 +995,6 @@ A set of rows: '2,0,\-9'
.IP \(bu 2
Or any combination: '5,\-3:,7:11,2,0,\-9'
-.RE
-
.PP
\fB\fC\-u\fR \fIX\fP
@@ -1064,8 +1020,6 @@ This mode returns directly when no entries given.
.PP
Allows the output of dmenu to be customized (N is the total number of input entries):
-
-.RS
.IP \(bu 2
\&'s' selected string
.IP \(bu 2
@@ -1081,8 +1035,6 @@ Allows the output of dmenu to be customized (N is the total number of input entr
.IP \(bu 2
\&'F' quoted filter string (user input)
-.RE
-
.PP
Default: 's'
@@ -1265,8 +1217,6 @@ For more information on debugging, see the wiki
.SH PATTERN
.PP
To launch commands (for example, when using the ssh launcher), the user can enter the used command\-line. The following keys can be used that will be replaced at runtime:
-
-.RS
.IP \(bu 2
\fB\fC{host}\fR: the host to connect to
.IP \(bu 2
@@ -1278,8 +1228,6 @@ To launch commands (for example, when using the ssh launcher), the user can ente
.IP \(bu 2
\fB\fC{window}\fR: the window ID of the selected window (in \fB\fCwindow\-command\fR)
-.RE
-
.SH DMENU REPLACEMENT
.PP
If \fB\fCargv[0]\fR (calling command) is dmenu, \fBrofi\fP will start in dmenu mode.
@@ -1302,8 +1250,6 @@ manual.
.PP
The theme setup allows you to specify colors per state, similar to \fBi3\fP
Currently 3 states exist:
-
-.RS
.IP \(bu 2
\fBnormal\fP: normal row
.IP \(bu 2
@@ -1311,12 +1257,8 @@ Currently 3 states exist:
.IP \(bu 2
\fBactive\fP: highlighted row (active)
-.RE
-
.PP
For each state, the following 5 colors must be set:
-
-.RS
.IP \(bu 2
\fBbg\fP: background color row
.IP \(bu 2
@@ -1328,8 +1270,6 @@ For each state, the following 5 colors must be set:
.IP \(bu 2
\fBhlbg\fP: background color selected row
-.RE
-
.PP
The window background and border color should be specified separately. The key \fB\fCcolor\-window\fR contains
a tuple \fB\fCbackground,border,separator\fR\&.
@@ -1415,8 +1355,6 @@ of the window will be visible through it.
.SH KEY BINDINGS
.PP
\fBrofi\fP has the following key bindings:
-
-.RS
.IP \(bu 2
\fB\fCCtrl\-v, Insert\fR: Paste from clipboard
.IP \(bu 2
@@ -1482,8 +1420,6 @@ of the window will be visible through it.
.IP \(bu 2
\fB\fCAlt\-Shift\-S\fR: Take a screenshot and store it in the Pictures directory.
-.RE
-
.PP
To get a full list of key bindings on the commandline, see \fB\fCrofi \-h\fR\&.
The options starting with \fB\fC\-kb\fR are keybindings.
@@ -1575,7 +1511,7 @@ rofi \-modi run \-show run
.RE
.PP
-Show the the run dialog, and allow switching to Desktop File run dialog (drun):
+Show the run dialog, and allow switching to Desktop File run dialog (drun):
.PP
.RS