2014-05-22 04:03:36 -04:00
|
|
|
.TH ROFI 1 rofi
|
2012-06-29 13:29:23 -04:00
|
|
|
.SH NAME
|
2014-05-22 04:37:25 -04:00
|
|
|
.PP
|
|
|
|
rofi \- A window switcher, run dialog and dmenu replacement
|
2012-06-29 13:29:23 -04:00
|
|
|
.SH SYNOPSIS
|
2014-05-22 04:37:25 -04:00
|
|
|
.PP
|
2015-01-05 15:53:50 -05:00
|
|
|
\fBrofi\fP [ \-width \fIpct_scr\fP ] [ \-lines \fIlines\fP ] [ \-columns \fIcolumns\fP ] [ \-font \fIpangofont\fP ] [ \-fg
|
2015-01-12 13:16:28 -05:00
|
|
|
\fIcolor\fP ] [ \-bg \fIcolor\fP ] [ \-bgalt \fIcolor\fP ] [ \-hlfg \fIcolor\fP ] [ \-hlbg \fIcolor\fP ] [ \-key \fIcombo\fP ] [
|
|
|
|
\-dkey \fIcomdo\fP ] [ \-rkey \fIcomdo\fP ] [ \-terminal \fIterminal\fP ] [ \-location \fIposition\fP ] [ \-hmode ] [
|
|
|
|
\-fixed\-num\-lines ] [ \-padding \fIpadding\fP ] [ \-opacity \fIopacity%\fP ] [ \-display \fIdisplay\fP ] [ \-bc
|
|
|
|
\fIcolor\fP ] [ \-bw \fIwidth\fP ] [ \-dmenu [ \-p \fIprompt\fP ] ] [ \-ssh\-client \fIclient\fP ] [ \-ssh\-command
|
|
|
|
\fIcommand\fP ] [ \-now ] [ \-rnow ] [ \-snow ] [ \-version ] [ \-help] [ \-dump\-xresources ] [
|
2015-01-12 14:48:04 -05:00
|
|
|
\-disable\-history ] [ \-levenshtein\-sort ] [ \-case\-sensitive ] [ \-show \fImode\fP ] [ \-switcher \fImode1,
|
|
|
|
mode2\fP ] [ \-e \fImessage\fP] [ \-sep \fIseparator\fP ] [ \-eh \fIelement height\fP ] [ \-l \fIselected line\fP ] [
|
|
|
|
\-run\-list\-command \fIcmd\fP ]
|
2012-06-29 13:29:23 -04:00
|
|
|
.SH DESCRIPTION
|
2014-05-22 04:37:25 -04:00
|
|
|
.PP
|
2014-08-01 17:29:01 -04:00
|
|
|
\fBrofi\fP is an X11 popup window switcher. A list is displayed center\-screen showing open window titles, WM_CLASS, and desktop number.
|
2014-05-22 04:37:25 -04:00
|
|
|
The user may filter the list by typing, navigate with Up/Down or Tab keys, and select a window with Return (Enter). Escape cancels.
|
|
|
|
.SH License
|
|
|
|
.PP
|
|
|
|
MIT/X11
|
2012-06-29 13:29:23 -04:00
|
|
|
.SH USAGE
|
2014-05-22 04:37:25 -04:00
|
|
|
.PP
|
2014-08-01 17:29:01 -04:00
|
|
|
\fBrofi\fP can be used in two ways, single\-shot; executes once and directly exits when done or as
|
2014-05-22 04:37:25 -04:00
|
|
|
daemon listening to specific key\-combinations.
|
|
|
|
.PP
|
|
|
|
The default key combinations are:
|
|
|
|
.RS
|
|
|
|
.IP \(bu 2
|
|
|
|
\fB\fCF12\fR
|
|
|
|
.RE
|
|
|
|
.PP
|
|
|
|
Show all windows on all desktops.
|
|
|
|
.RS
|
|
|
|
.IP \(bu 2
|
|
|
|
\fB\fCmod1\-F2\fR
|
|
|
|
.RE
|
|
|
|
.PP
|
|
|
|
Show run\-dialog.
|
|
|
|
.RS
|
|
|
|
.IP \(bu 2
|
|
|
|
\fB\fCmod1\-F3\fR
|
|
|
|
.RE
|
|
|
|
.PP
|
|
|
|
Show run\-dialog.
|
2012-06-29 13:29:23 -04:00
|
|
|
.SH OPTIONS
|
2014-05-22 04:37:25 -04:00
|
|
|
.PP
|
|
|
|
\fB\fC\-key\fR
|
2014-08-01 17:29:01 -04:00
|
|
|
.IP
|
|
|
|
Change the key combination to display all windows (default: F12).
|
2014-05-22 04:37:25 -04:00
|
|
|
.PP
|
|
|
|
.RS
|
|
|
|
.nf
|
2014-08-01 17:29:01 -04:00
|
|
|
rofi \-key F12
|
|
|
|
rofi \-key control+shift+s
|
|
|
|
rofi \-key mod1+Tab
|
2014-05-22 04:37:25 -04:00
|
|
|
.fi
|
|
|
|
.RE
|
|
|
|
.PP
|
|
|
|
\fB\fC\-rkey\fR
|
2014-08-01 17:29:01 -04:00
|
|
|
.IP
|
|
|
|
Change the key combination to display the run dialog (default: mod1\-F2).
|
2014-05-22 04:37:25 -04:00
|
|
|
.PP
|
|
|
|
.RS
|
|
|
|
.nf
|
2014-08-01 17:29:01 -04:00
|
|
|
rofi \-rkey F11
|
|
|
|
rofi \-rkey control+shift+d
|
|
|
|
rofi \-rkey mod1+grave (grave=backtick)
|
2014-05-22 04:37:25 -04:00
|
|
|
.fi
|
|
|
|
.RE
|
|
|
|
.PP
|
|
|
|
\fB\fC\-skey\fR
|
2014-08-01 17:29:01 -04:00
|
|
|
.IP
|
|
|
|
Change the key combination to display the ssh dialog (default: Alt\-F3).
|
2014-05-22 04:37:25 -04:00
|
|
|
.PP
|
|
|
|
.RS
|
|
|
|
.nf
|
2014-08-01 17:29:01 -04:00
|
|
|
rofi \-skey F10
|
|
|
|
rofi \-skey control+shift+s
|
|
|
|
rofi \-skey mod1+grave (grave=backtick)
|
2014-05-22 04:37:25 -04:00
|
|
|
.fi
|
|
|
|
.RE
|
|
|
|
.PP
|
|
|
|
\fB\fC\-now\fR
|
2014-08-01 17:29:01 -04:00
|
|
|
.IP
|
2014-05-22 04:37:25 -04:00
|
|
|
Run rofi in all\-windows mode once then exit. Does not bind any keys.
|
|
|
|
.PP
|
|
|
|
\fB\fC\-rnow\fR
|
2014-08-01 17:29:01 -04:00
|
|
|
.IP
|
2014-05-22 04:37:25 -04:00
|
|
|
Run rofi in run\-dialog mode once then exit. Does not bind any keys.
|
|
|
|
.PP
|
|
|
|
\fB\fC\-snow\fR
|
2014-08-01 17:29:01 -04:00
|
|
|
.IP
|
2014-03-01 11:27:52 -05:00
|
|
|
Run rofi in ssh mode once then exit. Does not bind any keys.
|
2014-05-22 04:37:25 -04:00
|
|
|
.PP
|
2014-10-20 14:29:26 -04:00
|
|
|
\fB\fC\-dmenu\fR
|
|
|
|
.IP
|
|
|
|
Run rofi in dmenu mode. Allowing it to be used for user interaction in scripts.
|
|
|
|
.IP
|
|
|
|
Pressing \fB\fCshift\-enter\fR will open the selected entries and move to the next entry.
|
|
|
|
.PP
|
|
|
|
\fB\fC\-show\fR \fImode\fP
|
|
|
|
.IP
|
|
|
|
Open rofi in a certain mode.
|
|
|
|
.IP
|
|
|
|
For example to show the run\-dialog:
|
|
|
|
.PP
|
|
|
|
.RS
|
|
|
|
.nf
|
|
|
|
rofi \-show run
|
|
|
|
.fi
|
|
|
|
.RE
|
|
|
|
.IP
|
|
|
|
This function deprecates \-rnow,\-snow and \-now
|
|
|
|
.PP
|
|
|
|
\fB\fC\-switchers\fR \fImode1,mode1\fP
|
|
|
|
.IP
|
|
|
|
Give a comma separated list of modes to enable, in what order.
|
|
|
|
.IP
|
|
|
|
For example to only show the run and ssh dialog (in that order):
|
|
|
|
.PP
|
|
|
|
.RS
|
|
|
|
.nf
|
|
|
|
rofi \-switchers "run,ssh" \-show run
|
|
|
|
.fi
|
|
|
|
.RE
|
|
|
|
.IP
|
|
|
|
Custom modes can be added using the internal 'script' mode. Each mode has two parameters:
|
|
|
|
.PP
|
|
|
|
.RS
|
|
|
|
.nf
|
|
|
|
<name>:<script>
|
|
|
|
.fi
|
|
|
|
.RE
|
|
|
|
.IP
|
|
|
|
So to have a mode 'Workspaces' using the \fB\fCi3_switch_workspace.sh\fR script type:
|
|
|
|
.PP
|
|
|
|
.RS
|
|
|
|
.nf
|
|
|
|
rofi \-switchers "window,run,ssh,Workspaces:i3_switch_workspaces.sh" \-show Workspaces
|
|
|
|
.fi
|
|
|
|
.RE
|
2015-01-12 08:13:46 -05:00
|
|
|
.PP
|
|
|
|
\fB\fC\-case\-sensitive\fR
|
|
|
|
.IP
|
|
|
|
Start in case sensitive mode.
|
2014-10-20 14:29:26 -04:00
|
|
|
.SS Theming
|
|
|
|
.PP
|
2014-05-22 04:37:25 -04:00
|
|
|
\fB\fC\-bg\fR
|
2014-08-01 17:29:01 -04:00
|
|
|
.IP
|
|
|
|
Set the background text color (X11 named color or hex #rrggbb) for the menu (default: #222222).
|
2014-05-22 04:37:25 -04:00
|
|
|
.PP
|
2012-06-29 13:29:23 -04:00
|
|
|
.RS
|
2014-05-22 04:37:25 -04:00
|
|
|
.nf
|
2015-01-12 13:16:28 -05:00
|
|
|
rofi \-bg "#222222"
|
|
|
|
.fi
|
|
|
|
.RE
|
|
|
|
.PP
|
|
|
|
\fB\fC\-bg\fR
|
|
|
|
.IP
|
|
|
|
Set the background text color for alternating rows (X11 named color or hex #rrggbb) for the menu
|
|
|
|
(default: #222222).
|
|
|
|
.PP
|
|
|
|
.RS
|
|
|
|
.nf
|
|
|
|
rofi \-bgalt "#222222"
|
2014-05-22 04:37:25 -04:00
|
|
|
.fi
|
2012-06-29 13:29:23 -04:00
|
|
|
.RE
|
2014-05-22 04:37:25 -04:00
|
|
|
.PP
|
|
|
|
\fB\fC\-bc\fR
|
2014-08-01 17:29:01 -04:00
|
|
|
.IP
|
|
|
|
Set the border color (X11 named color or hex #rrggbb) for the menu (default: #000000).
|
2014-05-22 04:37:25 -04:00
|
|
|
.PP
|
2012-07-18 08:14:13 -04:00
|
|
|
.RS
|
2014-05-22 04:37:25 -04:00
|
|
|
.nf
|
2014-08-01 17:29:01 -04:00
|
|
|
rofi \-bc black
|
2014-05-22 04:37:25 -04:00
|
|
|
.fi
|
2012-07-18 08:14:13 -04:00
|
|
|
.RE
|
2014-05-22 04:37:25 -04:00
|
|
|
.PP
|
|
|
|
\fB\fC\-bw\fR
|
2014-08-01 17:29:01 -04:00
|
|
|
.IP
|
|
|
|
Set the border width in pixels (default: 1).
|
2014-05-22 04:37:25 -04:00
|
|
|
.PP
|
2012-07-18 08:14:13 -04:00
|
|
|
.RS
|
2014-05-22 04:37:25 -04:00
|
|
|
.nf
|
2014-08-01 17:29:01 -04:00
|
|
|
rofi \-bw 1
|
2014-05-22 04:37:25 -04:00
|
|
|
.fi
|
2012-07-18 08:14:13 -04:00
|
|
|
.RE
|
2014-05-22 04:37:25 -04:00
|
|
|
.PP
|
|
|
|
\fB\fC\-fg\fR
|
2014-08-01 17:29:01 -04:00
|
|
|
.IP
|
|
|
|
Set the foreground text color (X11 named color or hex #rrggbb) for the menu (default: #cccccc).
|
2014-05-22 04:37:25 -04:00
|
|
|
.PP
|
2012-06-29 13:29:23 -04:00
|
|
|
.RS
|
2014-05-22 04:37:25 -04:00
|
|
|
.nf
|
2014-08-01 17:29:01 -04:00
|
|
|
rofi \-fg "#cccccc"
|
2014-05-22 04:37:25 -04:00
|
|
|
.fi
|
2012-06-29 13:29:23 -04:00
|
|
|
.RE
|
2014-05-22 04:37:25 -04:00
|
|
|
.PP
|
|
|
|
\fB\fC\-font\fR
|
2014-08-01 17:29:01 -04:00
|
|
|
.IP
|
2014-11-14 02:06:23 -05:00
|
|
|
Pango font name for use by the menu (default: mono 14).
|
2014-05-22 04:37:25 -04:00
|
|
|
.PP
|
2012-06-29 13:29:23 -04:00
|
|
|
.RS
|
2014-05-22 04:37:25 -04:00
|
|
|
.nf
|
2014-11-14 02:06:23 -05:00
|
|
|
rofi \-font monospace\\ 14
|
2014-05-22 04:37:25 -04:00
|
|
|
.fi
|
2012-06-29 13:29:23 -04:00
|
|
|
.RE
|
2014-05-22 04:37:25 -04:00
|
|
|
.PP
|
|
|
|
\fB\fC\-hlbg\fR
|
2014-08-01 17:29:01 -04:00
|
|
|
.IP
|
|
|
|
Set the background text color (X11 named color or hex #rrggbb) for the highlighted item in the
|
|
|
|
menu (default: #005577).
|
2014-05-22 04:37:25 -04:00
|
|
|
.PP
|
2012-06-29 13:29:23 -04:00
|
|
|
.RS
|
2014-05-22 04:37:25 -04:00
|
|
|
.nf
|
2014-08-01 17:29:01 -04:00
|
|
|
rofi \-fg "#005577"
|
2014-05-22 04:37:25 -04:00
|
|
|
.fi
|
2012-06-29 13:29:23 -04:00
|
|
|
.RE
|
2014-05-22 04:37:25 -04:00
|
|
|
.PP
|
|
|
|
\fB\fC\-hlfg\fR
|
2014-08-01 17:29:01 -04:00
|
|
|
.IP
|
|
|
|
Set the foreground text color (X11 named color or hex #rrggbb) for the highlighted item in the
|
|
|
|
menu (default: #ffffff).
|
2014-05-22 04:37:25 -04:00
|
|
|
.PP
|
2012-06-29 13:29:23 -04:00
|
|
|
.RS
|
2014-05-22 04:37:25 -04:00
|
|
|
.nf
|
2014-08-01 17:29:01 -04:00
|
|
|
rofi \-fg "#ffffff"
|
2014-05-22 04:37:25 -04:00
|
|
|
.fi
|
2012-06-29 13:29:23 -04:00
|
|
|
.RE
|
2014-05-22 04:37:25 -04:00
|
|
|
.PP
|
|
|
|
\fB\fC\-opacity\fR
|
2014-08-01 17:29:01 -04:00
|
|
|
.IP
|
|
|
|
Set the window opacity (0\-100).
|
2014-05-22 04:37:25 -04:00
|
|
|
.PP
|
2013-01-20 08:20:05 -05:00
|
|
|
.RS
|
2014-05-22 04:37:25 -04:00
|
|
|
.nf
|
2014-08-01 17:29:01 -04:00
|
|
|
rofi \-opacity "75"
|
2014-05-22 04:37:25 -04:00
|
|
|
.fi
|
2013-01-20 08:20:05 -05:00
|
|
|
.RE
|
2014-10-20 14:29:26 -04:00
|
|
|
.SS Layout
|
2014-05-22 04:37:25 -04:00
|
|
|
.PP
|
|
|
|
\fB\fC\-lines\fR
|
2014-08-01 17:29:01 -04:00
|
|
|
.IP
|
|
|
|
Maximum number of lines the menu may show before scrolling (default: 25).
|
2014-05-22 04:37:25 -04:00
|
|
|
.PP
|
2012-06-29 13:29:23 -04:00
|
|
|
.RS
|
2014-05-22 04:37:25 -04:00
|
|
|
.nf
|
2014-08-01 17:29:01 -04:00
|
|
|
rofi \-lines 25
|
2014-05-22 04:37:25 -04:00
|
|
|
.fi
|
2012-06-29 13:29:23 -04:00
|
|
|
.RE
|
2014-05-22 04:37:25 -04:00
|
|
|
.PP
|
|
|
|
\fB\fC\-columns\fR
|
2014-08-01 17:29:01 -04:00
|
|
|
.IP
|
|
|
|
The number of columns the menu may show before scrolling (default: 25).
|
2014-05-22 04:37:25 -04:00
|
|
|
.PP
|
2014-05-21 18:38:14 -04:00
|
|
|
.RS
|
2014-05-22 04:37:25 -04:00
|
|
|
.nf
|
2014-08-01 17:29:01 -04:00
|
|
|
rofi \-columns 2
|
2014-05-22 04:37:25 -04:00
|
|
|
.fi
|
2014-05-21 18:38:14 -04:00
|
|
|
.RE
|
2014-05-22 04:37:25 -04:00
|
|
|
.PP
|
2014-08-14 15:16:42 -04:00
|
|
|
\fB\fC\-width\fR [value]
|
2014-08-01 17:29:01 -04:00
|
|
|
.IP
|
|
|
|
Set the width of the menu as a percentage of the screen width (default: 60).
|
2014-05-22 04:37:25 -04:00
|
|
|
.PP
|
2012-06-29 13:29:23 -04:00
|
|
|
.RS
|
2014-05-22 04:37:25 -04:00
|
|
|
.nf
|
2014-08-01 17:29:01 -04:00
|
|
|
rofi \-width 60
|
2014-05-22 04:37:25 -04:00
|
|
|
.fi
|
2012-06-29 13:29:23 -04:00
|
|
|
.RE
|
2014-08-14 15:16:42 -04:00
|
|
|
.IP
|
|
|
|
If value is larger then 100, the size is set in pixels. e.g. to span a full hd monitor:
|
|
|
|
.PP
|
|
|
|
.RS
|
|
|
|
.nf
|
2014-10-20 14:29:26 -04:00
|
|
|
rofi \-width 1980
|
2014-08-14 15:16:42 -04:00
|
|
|
.fi
|
|
|
|
.RE
|
|
|
|
.IP
|
|
|
|
If the value is negative, it tries to estimates a character width. To show 30 characters on a row:
|
|
|
|
.PP
|
|
|
|
.RS
|
|
|
|
.nf
|
2014-10-20 14:29:26 -04:00
|
|
|
rofi \-width \-30
|
2014-08-14 15:16:42 -04:00
|
|
|
.fi
|
|
|
|
.RE
|
2014-08-01 17:29:01 -04:00
|
|
|
.IP
|
2014-10-20 14:29:26 -04:00
|
|
|
Character width is a rough estimation, and might not be correct, but should work for most monospaced fonts.
|
2014-05-22 04:37:25 -04:00
|
|
|
.PP
|
2014-07-24 14:38:21 -04:00
|
|
|
\fB\fC\-location\fR
|
2014-08-01 17:29:01 -04:00
|
|
|
.IP
|
|
|
|
Specify where the window should be located. The numbers map to the following location on the
|
|
|
|
monitor:
|
2014-05-22 04:37:25 -04:00
|
|
|
.PP
|
|
|
|
.RS
|
|
|
|
.nf
|
2014-08-01 17:29:01 -04:00
|
|
|
1 2 3
|
|
|
|
8 0 4
|
|
|
|
7 6 5
|
2014-05-22 04:37:25 -04:00
|
|
|
.fi
|
|
|
|
.RE
|
|
|
|
.PP
|
|
|
|
\fB\fC\-hmode\fR
|
|
|
|
.IP
|
|
|
|
Switch to horizontal mode (ala dmenu). The number of elements is the number of \fB\fClines\fR times the
|
|
|
|
number of \fB\fCcolumns\fR\&.
|
|
|
|
.PP
|
|
|
|
\fB\fC\-fixed\-num\-lines\fR
|
2014-08-01 17:29:01 -04:00
|
|
|
.IP
|
|
|
|
Keep a fixed number of visible lines (See the \fB\fC\-lines\fR option.)
|
2014-05-22 04:37:25 -04:00
|
|
|
.PP
|
|
|
|
\fB\fC\-padding\fR
|
2014-08-01 17:29:01 -04:00
|
|
|
.IP
|
|
|
|
Define the inner margin of the window. Default is 5 pixels.
|
|
|
|
.IP
|
|
|
|
To make rofi look like dmenu:
|
2014-05-22 04:37:25 -04:00
|
|
|
.PP
|
2014-01-26 06:02:00 -05:00
|
|
|
.RS
|
2014-05-22 04:37:25 -04:00
|
|
|
.nf
|
2014-08-01 17:29:01 -04:00
|
|
|
rofi \-hmode \-padding 0
|
2014-05-22 04:37:25 -04:00
|
|
|
.fi
|
2014-01-26 06:59:10 -05:00
|
|
|
.RE
|
2014-11-09 07:10:24 -05:00
|
|
|
.PP
|
|
|
|
\fB\fC\-sidebar\-mode\fR
|
|
|
|
.PP
|
|
|
|
.RS
|
|
|
|
.nf
|
|
|
|
Go into side\-bar mode, it will show list of modi at the bottom.
|
|
|
|
To show sidebar use:
|
|
|
|
rofi \-rnow \-sidebar\-mode \-lines 0
|
|
|
|
.fi
|
|
|
|
.RE
|
2014-10-20 14:29:26 -04:00
|
|
|
.SS Pattern setting
|
2014-05-22 04:37:25 -04:00
|
|
|
.PP
|
2014-10-20 14:29:26 -04:00
|
|
|
\fB\fC\-terminal\fR
|
2014-08-01 17:29:01 -04:00
|
|
|
.IP
|
2014-10-20 14:29:26 -04:00
|
|
|
Specify what terminal to start (default x\-terminal\-emulator)
|
2014-05-22 04:37:25 -04:00
|
|
|
.PP
|
2014-10-20 14:29:26 -04:00
|
|
|
.RS
|
|
|
|
.nf
|
|
|
|
rofi \-terminal xterm
|
|
|
|
.fi
|
|
|
|
.RE
|
|
|
|
.PP
|
|
|
|
\fB\fC\-ssh\-client\fR \fIclient\fP
|
2014-05-22 15:56:57 -04:00
|
|
|
.IP
|
2014-10-20 14:29:26 -04:00
|
|
|
Override the used ssh client. Default is \fB\fCssh\fR\&.
|
|
|
|
.SS SSH settings
|
2014-05-22 15:56:57 -04:00
|
|
|
.PP
|
2014-05-22 04:37:25 -04:00
|
|
|
\fB\fC\-ssh\-set\-title\fR \fItrue|false\fP
|
|
|
|
.IP
|
|
|
|
SSH dialogs tries to set 'ssh hostname' of the spawned terminal.
|
2014-05-22 04:03:36 -04:00
|
|
|
Not all terminals support this.
|
|
|
|
Default value is true.
|
2014-09-03 13:40:24 -04:00
|
|
|
.IP
|
|
|
|
\fIThis command has been deprecated for the ssh\-command string\fP
|
|
|
|
.PP
|
|
|
|
\fB\fC\-ssh\-command\fR \fIcmd\fP
|
|
|
|
.IP
|
|
|
|
Set the command to execute when starting a ssh session.
|
2014-10-20 14:29:26 -04:00
|
|
|
.SS Run settings
|
2014-09-03 13:40:24 -04:00
|
|
|
.PP
|
|
|
|
\fB\fC\-run\-command\fR \fIcmd\fP
|
|
|
|
.IP
|
|
|
|
Set the command to execute when running an application.
|
|
|
|
See \fIPATTERN\fP\&.
|
|
|
|
.PP
|
|
|
|
\fB\fC\-run\-shell\-command\fR \fIcmd\fP
|
|
|
|
.IP
|
|
|
|
Set the command to execute when running an application in a shell.
|
|
|
|
See \fIPATTERN\fP\&.
|
2015-01-05 15:53:50 -05:00
|
|
|
.PP
|
|
|
|
\fB\fC\-run\-list\-command\fR \fIcmd\fP
|
|
|
|
.IP
|
|
|
|
If set, use an external tool to generate list of executable commands. Uses 'run\-command'
|
2014-10-20 14:29:26 -04:00
|
|
|
.SS History and Sorting
|
2014-06-05 15:55:47 -04:00
|
|
|
.PP
|
|
|
|
\fB\fC\-disable\-history\fR
|
|
|
|
.IP
|
|
|
|
Disable history
|
2014-07-16 14:06:48 -04:00
|
|
|
.PP
|
|
|
|
\fB\fC\-levenshtein\-sort\fR
|
|
|
|
.IP
|
|
|
|
When searching sort the result based on levenshtein distance.
|
2014-08-21 16:37:13 -04:00
|
|
|
.IP
|
|
|
|
Note that levenshtein sort is disabled in dmenu mode.
|
2014-10-20 14:29:26 -04:00
|
|
|
.SS Dmenu specific
|
2014-07-21 15:39:24 -04:00
|
|
|
.PP
|
2014-10-20 14:29:26 -04:00
|
|
|
\fB\fC\-sep\fR \fIseparator\fP
|
2014-07-21 15:39:24 -04:00
|
|
|
.PP
|
|
|
|
.RS
|
|
|
|
.nf
|
2014-10-20 14:29:26 -04:00
|
|
|
Separator for dmenu. For example to show list a to e with '|' as separator:
|
|
|
|
echo "a|b|c|d|e" | rofi \-sep '|' \-dmenu
|
2014-07-21 15:39:24 -04:00
|
|
|
.fi
|
|
|
|
.RE
|
|
|
|
.PP
|
2014-10-20 14:29:26 -04:00
|
|
|
\fB\fC\-p\fR \fIprompt\fP
|
2014-07-21 15:39:24 -04:00
|
|
|
.PP
|
|
|
|
.RS
|
|
|
|
.nf
|
2014-10-20 14:29:26 -04:00
|
|
|
Specify the prompt to show in dmenu mode. E.g. select monkey a,b,c,d or e.
|
|
|
|
echo "a|b|c|d|e" | rofi \-sep '|' \-dmenu \-p "monkey:"
|
2014-07-21 15:39:24 -04:00
|
|
|
.fi
|
|
|
|
.RE
|
2014-11-02 06:58:57 -05:00
|
|
|
.PP
|
|
|
|
\fB\fC\-eh\fR \fIelement height\fP
|
|
|
|
.PP
|
|
|
|
.RS
|
|
|
|
.nf
|
|
|
|
The height of a field in lines. e.g.
|
|
|
|
echo \-e "a\\n3|b\\n4|c\\n5" | rofi \-sep '|' \-eh 2 \-dmenu
|
|
|
|
.fi
|
|
|
|
.RE
|
2014-12-16 15:08:12 -05:00
|
|
|
.PP
|
|
|
|
\fB\fC\-l\fR \fIselected line\fP
|
|
|
|
.PP
|
|
|
|
.RS
|
|
|
|
.nf
|
|
|
|
Select a certain line.
|
|
|
|
.fi
|
|
|
|
.RE
|
2014-10-20 14:29:26 -04:00
|
|
|
.SS Message dialog
|
2014-08-27 13:48:54 -04:00
|
|
|
.PP
|
|
|
|
\fB\fC\-e\fR \fImessage\fP
|
|
|
|
.PP
|
|
|
|
.RS
|
|
|
|
.nf
|
|
|
|
Popup a message dialog (used internally for showing errors) with *message*.
|
2014-10-20 14:29:26 -04:00
|
|
|
Message can be multi\-line.
|
2014-08-27 13:48:54 -04:00
|
|
|
.fi
|
|
|
|
.RE
|
2014-10-20 14:31:15 -04:00
|
|
|
.SS Debug
|
2014-10-19 13:42:02 -04:00
|
|
|
.PP
|
2014-10-20 14:29:26 -04:00
|
|
|
\fB\fC\-dump\-xresources\fR
|
|
|
|
.IP
|
|
|
|
Dump the current active configuration in xresources format to the command\-line.
|
2014-09-03 13:40:24 -04:00
|
|
|
.SH Pattern
|
|
|
|
.PP
|
|
|
|
To launch commands (e.g. when using the ssh dialog) the user can enter the used commandline,
|
|
|
|
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
|
|
|
|
\fB\fC{terminal}\fR: The configured terminal (See \-terminal\-emulator)
|
|
|
|
.IP \(bu 2
|
|
|
|
\fB\fC{ssh\-client}\fR: The configured ssh client (See \-ssh\-client)
|
|
|
|
.IP \(bu 2
|
|
|
|
\fB\fC{cmd}\fR: The command to execute.
|
|
|
|
.RE
|
2014-11-05 04:27:46 -05:00
|
|
|
.SH Dmenu replacemnt
|
|
|
|
.PP
|
|
|
|
If \fB\fCargv[0]\fR (calling command) is dmenu, \fBrofi\fP will start in dmenu mode.
|
|
|
|
This way it can be used as a drop\-in replacement for dmenu. just copy or symlink \fBrofi\fP to dmenu in \fB\fC$PATH\fR\&.
|
|
|
|
.PP
|
|
|
|
.RS
|
|
|
|
.nf
|
|
|
|
ln \-s /usr/bin/dmenu /usr/bin/rofi
|
|
|
|
.fi
|
|
|
|
.RE
|
2014-11-05 04:52:10 -05:00
|
|
|
.SH Signals
|
|
|
|
.PP
|
|
|
|
\fB\fCHUP\fR
|
|
|
|
.PP
|
|
|
|
.RS
|
|
|
|
.nf
|
|
|
|
If in daemon mode, reload the configuration from Xresources. (arguments still override).
|
|
|
|
.fi
|
|
|
|
.RE
|
2014-08-05 14:09:39 -04:00
|
|
|
.SH Keybindings
|
2014-05-22 04:37:25 -04:00
|
|
|
.PP
|
2014-08-05 14:09:39 -04:00
|
|
|
Rofi supports the following keybindings:
|
2014-08-03 15:51:31 -04:00
|
|
|
.RS
|
|
|
|
.IP \(bu 2
|
|
|
|
\fB\fCCtrl\-v, Insert\fR: Paste clipboard
|
|
|
|
.IP \(bu 2
|
|
|
|
\fB\fCCtrl\-Shift\-v, Shift\-Insert\fR: Paste primary selection
|
|
|
|
.IP \(bu 2
|
|
|
|
\fB\fCCtrl\-u\fR: Clear the line
|
|
|
|
.IP \(bu 2
|
|
|
|
\fB\fCCtrl\-a\fR: Beginning of line
|
|
|
|
.IP \(bu 2
|
|
|
|
\fB\fCCtrl\-e\fR: End of line
|
|
|
|
.IP \(bu 2
|
|
|
|
\fB\fCCtrl\-f, Right\fR: Forward one character
|
|
|
|
.IP \(bu 2
|
|
|
|
\fB\fCCtrl\-b, Left\fR: Back one character
|
|
|
|
.IP \(bu 2
|
|
|
|
\fB\fCCtrl\-d, Delete\fR: Delete character
|
|
|
|
.IP \(bu 2
|
|
|
|
\fB\fCCtrl\-h, Backspace\fR: Backspace (delete previous character)
|
|
|
|
.IP \(bu 2
|
|
|
|
\fB\fCCtrl\-j,Ctrl\-m,Enter\fR: Accept entry
|
|
|
|
.IP \(bu 2
|
|
|
|
\fB\fCCtrl\-n,Down\fR: Select next entry
|
|
|
|
.IP \(bu 2
|
|
|
|
\fB\fCCtrl\-p,Up\fR: Select previous entry
|
|
|
|
.IP \(bu 2
|
|
|
|
\fB\fCPage Up\fR: Go to the previous page
|
|
|
|
.IP \(bu 2
|
|
|
|
\fB\fCPage Down\fR: Go to the next page
|
|
|
|
.IP \(bu 2
|
|
|
|
\fB\fCCtrl\-Page Up\fR: Go to the previous column
|
|
|
|
.IP \(bu 2
|
|
|
|
\fB\fCCtrl\-Page Down\fR: Go to the next column
|
2014-08-05 14:09:39 -04:00
|
|
|
.IP \(bu 2
|
2014-11-29 10:35:43 -05:00
|
|
|
\fB\fCCtrl\-Enter\fR: Use entered text as command (in ssh/run dialog)
|
|
|
|
.IP \(bu 2
|
2014-08-05 14:09:39 -04:00
|
|
|
\fB\fC?\fR: Switch to the next modi. The list can be customized with the \fB\fC\-switchers\fR argument.
|
2014-09-03 13:40:24 -04:00
|
|
|
.IP \(bu 2
|
2014-11-11 15:50:16 -05:00
|
|
|
\fB\fCctrl\-/\fR: Switch to the previous modi. The list can be customized with the \fB\fC\-switchers\fR argument.
|
|
|
|
.IP \(bu 2
|
2014-09-03 13:40:24 -04:00
|
|
|
\fB\fCCtrl\-space\fR: Set selected item as input text.
|
2014-12-24 10:16:24 -05:00
|
|
|
.IP \(bu 2
|
|
|
|
\fB\fCShift\-Del\fR: Delete entry from history.
|
2015-01-12 08:13:46 -05:00
|
|
|
.IP \(bu 2
|
|
|
|
\fB\fCgrave\fR: Toggle case sensitivity.
|
2014-08-03 15:51:31 -04:00
|
|
|
.RE
|
2014-11-08 07:51:41 -05:00
|
|
|
.SH FAQ
|
|
|
|
.PP
|
|
|
|
\fB\fCText in window switcher is not nicely lined out\fR
|
|
|
|
.PP
|
|
|
|
.RS
|
|
|
|
.nf
|
|
|
|
Try using a mono\-space font.
|
|
|
|
.fi
|
|
|
|
.RE
|
2014-12-07 10:04:22 -05:00
|
|
|
.PP
|
|
|
|
\fB\fCRofi is completely black.\fR
|
|
|
|
.PP
|
|
|
|
.RS
|
|
|
|
.nf
|
|
|
|
Check quotes used on the commandline: e.g. used “ instead of ".
|
|
|
|
.fi
|
|
|
|
.RE
|
2014-08-05 14:09:39 -04:00
|
|
|
.SH WEBSITE
|
|
|
|
.PP
|
|
|
|
\fBrofi\fP website can be found at here
|
2015-01-05 15:53:50 -05:00
|
|
|
\[la]https://davedavenport.github.io/rofi/\[ra]
|
2014-09-06 08:57:30 -04:00
|
|
|
.PP
|
|
|
|
\fBrofi\fP bugtracker can be found here
|
2015-01-05 15:53:50 -05:00
|
|
|
\[la]https://github.com/DaveDavenport/rofi/issues\[ra]
|
2012-06-29 13:29:23 -04:00
|
|
|
.SH AUTHOR
|
2014-05-22 04:37:25 -04:00
|
|
|
.PP
|
|
|
|
Qball Cow
|
2015-01-05 15:53:50 -05:00
|
|
|
\[la]qball@gmpclient.org\[ra]
|
2014-05-22 04:37:25 -04:00
|
|
|
.PP
|
|
|
|
Original code based on work by: Sean Pringle
|
2015-01-05 15:53:50 -05:00
|
|
|
\[la]sean.pringle@gmail.com\[ra]
|