2014-05-22 08:03:36 +00:00
|
|
|
.TH ROFI 1 rofi
|
2012-06-29 17:29:23 +00:00
|
|
|
.SH NAME
|
2014-05-22 08:37:25 +00:00
|
|
|
.PP
|
|
|
|
rofi \- A window switcher, run dialog and dmenu replacement
|
2012-06-29 17:29:23 +00:00
|
|
|
.SH SYNOPSIS
|
2014-05-22 08:37:25 +00:00
|
|
|
.PP
|
|
|
|
\fB\fCrofi\fR [ \-width \fIpct_scr\fP ] [ \-lines \fIlines\fP ] [ \-columns \fIcolumns\fP ] [ \-font \fIxftfont\fP ] [ \-fg \fIcolor\fP ]
|
|
|
|
[ \-bg \fIcolor\fP ] [ \-hlfg \fIcolor\fP ] [ \-hlbg \fIcolor\fP ] [ \-key \fIcombo\fP ] [ \-dkey \fIcomdo\fP ] [ \-rkey \fIcomdo\fP ]
|
|
|
|
[ \-terminal \fIterminal\fP ] [ \-loc \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\-set\-title \fItrue|false\fP ] [ \-now ] [ \-rnow ] [ \-snow ] [ \-version ] [ \-help] [ \-dump ]
|
2012-06-29 17:29:23 +00:00
|
|
|
.SH DESCRIPTION
|
2014-05-22 08:37:25 +00:00
|
|
|
.PP
|
|
|
|
\fB\fCrofi\fR is an X11 popup window switcher. A list is displayed center\-screen showing open window titles, WM_CLASS, and desktop number.
|
|
|
|
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 17:29:23 +00:00
|
|
|
.SH USAGE
|
2014-05-22 08:37:25 +00:00
|
|
|
.PP
|
|
|
|
\fB\fCrofi\fR can be used in two ways, single\-shot; executes once and directly exits when done or as
|
|
|
|
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 17:29:23 +00:00
|
|
|
.SH OPTIONS
|
2014-05-22 08:37:25 +00:00
|
|
|
.PP
|
|
|
|
\fB\fC\-key\fR
|
|
|
|
.PP
|
|
|
|
.RS
|
|
|
|
.nf
|
2012-06-29 17:29:23 +00:00
|
|
|
Change the key combination to display all windows (default: F12).
|
2014-05-22 08:37:25 +00:00
|
|
|
rofi \-key F12
|
|
|
|
rofi \-key control+shift+s
|
|
|
|
rofi \-key mod1+Tab
|
|
|
|
.fi
|
|
|
|
.RE
|
|
|
|
.PP
|
|
|
|
\fB\fC\-rkey\fR
|
|
|
|
.PP
|
|
|
|
.RS
|
|
|
|
.nf
|
|
|
|
Change the key combination to display the run dialog (default: mod1\-F2).
|
|
|
|
rofi \-rkey F11
|
|
|
|
rofi \-rkey control+shift+d
|
|
|
|
rofi \-rkey mod1+grave (grave=backtick)
|
|
|
|
.fi
|
|
|
|
.RE
|
|
|
|
.PP
|
|
|
|
\fB\fC\-skey\fR
|
|
|
|
.PP
|
|
|
|
.RS
|
|
|
|
.nf
|
|
|
|
Change the key combination to display the ssh dialog (default: Alt\-F3).
|
|
|
|
rofi \-skey F10
|
|
|
|
rofi \-skey control+shift+s
|
|
|
|
rofi \-skey mod1+grave (grave=backtick)
|
|
|
|
.fi
|
|
|
|
.RE
|
|
|
|
.PP
|
|
|
|
\fB\fC\-now\fR
|
|
|
|
.PP
|
|
|
|
.RS
|
|
|
|
.nf
|
|
|
|
Run rofi in all\-windows mode once then exit. Does not bind any keys.
|
|
|
|
.fi
|
|
|
|
.RE
|
|
|
|
.PP
|
|
|
|
\fB\fC\-rnow\fR
|
|
|
|
.PP
|
|
|
|
.RS
|
|
|
|
.nf
|
|
|
|
Run rofi in run\-dialog mode once then exit. Does not bind any keys.
|
|
|
|
.fi
|
|
|
|
.RE
|
|
|
|
.PP
|
|
|
|
\fB\fC\-snow\fR
|
|
|
|
.PP
|
|
|
|
.RS
|
|
|
|
.nf
|
2014-03-01 16:27:52 +00:00
|
|
|
Run rofi in ssh mode once then exit. Does not bind any keys.
|
2014-05-22 08:37:25 +00:00
|
|
|
.fi
|
|
|
|
.RE
|
|
|
|
.PP
|
|
|
|
\fB\fC\-bg\fR
|
|
|
|
.PP
|
2012-06-29 17:29:23 +00:00
|
|
|
.RS
|
2014-05-22 08:37:25 +00:00
|
|
|
.nf
|
|
|
|
Set the background text color (X11 named color or hex #rrggbb) for the menu (default: #222222).
|
|
|
|
rofi \-fg "#222222"
|
|
|
|
.fi
|
2012-06-29 17:29:23 +00:00
|
|
|
.RE
|
2014-05-22 08:37:25 +00:00
|
|
|
.PP
|
|
|
|
\fB\fC\-bc\fR
|
|
|
|
.PP
|
2012-07-18 12:14:13 +00:00
|
|
|
.RS
|
2014-05-22 08:37:25 +00:00
|
|
|
.nf
|
|
|
|
Set the border color (X11 named color or hex #rrggbb) for the menu (default: #000000).
|
|
|
|
rofi \-bc black
|
|
|
|
.fi
|
2012-07-18 12:14:13 +00:00
|
|
|
.RE
|
2014-05-22 08:37:25 +00:00
|
|
|
.PP
|
|
|
|
\fB\fC\-bw\fR
|
|
|
|
.PP
|
2012-07-18 12:14:13 +00:00
|
|
|
.RS
|
2014-05-22 08:37:25 +00:00
|
|
|
.nf
|
|
|
|
Set the border width in pixels (default: 1).
|
|
|
|
rofi \-bw 1
|
|
|
|
.fi
|
2012-07-18 12:14:13 +00:00
|
|
|
.RE
|
2014-05-22 08:37:25 +00:00
|
|
|
.PP
|
|
|
|
\fB\fC\-fg\fR
|
|
|
|
.PP
|
2012-06-29 17:29:23 +00:00
|
|
|
.RS
|
2014-05-22 08:37:25 +00:00
|
|
|
.nf
|
|
|
|
Set the foreground text color (X11 named color or hex #rrggbb) for the menu (default: #cccccc).
|
|
|
|
rofi \-fg "#cccccc"
|
|
|
|
.fi
|
2012-06-29 17:29:23 +00:00
|
|
|
.RE
|
2014-05-22 08:37:25 +00:00
|
|
|
.PP
|
|
|
|
\fB\fC\-font\fR
|
|
|
|
.PP
|
2012-06-29 17:29:23 +00:00
|
|
|
.RS
|
2014-05-22 08:37:25 +00:00
|
|
|
.nf
|
|
|
|
Xft font name for use by the menu (default: mono\-14).
|
|
|
|
rofi \-font monospace\-14:medium
|
|
|
|
.fi
|
2012-06-29 17:29:23 +00:00
|
|
|
.RE
|
2014-05-22 08:37:25 +00:00
|
|
|
.PP
|
|
|
|
\fB\fC\-hlbg\fR
|
|
|
|
.PP
|
2012-06-29 17:29:23 +00:00
|
|
|
.RS
|
2014-05-22 08:37:25 +00:00
|
|
|
.nf
|
|
|
|
Set the background text color (X11 named color or hex #rrggbb) for the highlighted item in the
|
|
|
|
menu (default: #005577).
|
|
|
|
rofi \-fg "#005577"
|
|
|
|
.fi
|
2012-06-29 17:29:23 +00:00
|
|
|
.RE
|
2014-05-22 08:37:25 +00:00
|
|
|
.PP
|
|
|
|
\fB\fC\-hlfg\fR
|
|
|
|
.PP
|
2012-06-29 17:29:23 +00:00
|
|
|
.RS
|
2014-05-22 08:37:25 +00:00
|
|
|
.nf
|
|
|
|
Set the foreground text color (X11 named color or hex #rrggbb) for the highlighted item in the
|
|
|
|
menu (default: #ffffff).
|
|
|
|
rofi \-fg "#ffffff"
|
|
|
|
.fi
|
2012-06-29 17:29:23 +00:00
|
|
|
.RE
|
2014-05-22 08:37:25 +00:00
|
|
|
.PP
|
|
|
|
\fB\fC\-opacity\fR
|
|
|
|
.PP
|
2013-01-20 13:20:05 +00:00
|
|
|
.RS
|
2014-05-22 08:37:25 +00:00
|
|
|
.nf
|
|
|
|
Set the window opacity (0\-100).
|
|
|
|
rofi \-opacity "75"
|
|
|
|
.fi
|
2013-01-20 13:20:05 +00:00
|
|
|
.RE
|
2014-05-22 08:37:25 +00:00
|
|
|
.PP
|
|
|
|
\fB\fC\-lines\fR
|
|
|
|
.PP
|
2012-06-29 17:29:23 +00:00
|
|
|
.RS
|
2014-05-22 08:37:25 +00:00
|
|
|
.nf
|
|
|
|
Maximum number of lines the menu may show before scrolling (default: 25).
|
|
|
|
rofi \-lines 25
|
|
|
|
.fi
|
2012-06-29 17:29:23 +00:00
|
|
|
.RE
|
2014-05-22 08:37:25 +00:00
|
|
|
.PP
|
|
|
|
\fB\fC\-columns\fR
|
|
|
|
.PP
|
2014-05-21 22:38:14 +00:00
|
|
|
.RS
|
2014-05-22 08:37:25 +00:00
|
|
|
.nf
|
|
|
|
The number of columns the menu may show before scrolling (default: 25).
|
|
|
|
rofi \-columns 2
|
|
|
|
.fi
|
2014-05-21 22:38:14 +00:00
|
|
|
.RE
|
2014-05-22 08:37:25 +00:00
|
|
|
.PP
|
|
|
|
\fB\fC\-width\fR
|
|
|
|
.PP
|
2012-06-29 17:29:23 +00:00
|
|
|
.RS
|
2014-05-22 08:37:25 +00:00
|
|
|
.nf
|
|
|
|
Set the width of the menu as a percentage of the screen width (default: 60).
|
|
|
|
rofi \-width 60
|
|
|
|
.fi
|
2012-06-29 17:29:23 +00:00
|
|
|
.RE
|
2014-05-22 08:37:25 +00:00
|
|
|
.PP
|
|
|
|
\fB\fC\-terminal\fR
|
|
|
|
.PP
|
2014-01-20 20:17:19 +00:00
|
|
|
.RS
|
2014-05-22 08:37:25 +00:00
|
|
|
.nf
|
|
|
|
Specify what terminal to start (default x\-terminal\-emulator)
|
|
|
|
rofi \-terminal xterm
|
|
|
|
.fi
|
2014-01-20 20:17:19 +00:00
|
|
|
.RE
|
2014-05-22 08:37:25 +00:00
|
|
|
.PP
|
|
|
|
\fB\fC\-loc\fR
|
|
|
|
.PP
|
|
|
|
.RS
|
|
|
|
.nf
|
2014-01-26 11:02:00 +00:00
|
|
|
Specify where the window should be located. The numbers map to the following location on the
|
|
|
|
monitor:
|
2014-05-22 08:37:25 +00:00
|
|
|
1 2 3
|
|
|
|
8 0 4
|
|
|
|
7 6 5
|
|
|
|
.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
|
|
|
|
.PP
|
|
|
|
Keep a fixed number of visible lines (See the \fB\fC\-lines\fR option.)
|
|
|
|
.PP
|
|
|
|
\fB\fC\-padding\fR
|
|
|
|
.PP
|
2014-01-26 11:02:00 +00:00
|
|
|
.RS
|
2014-05-22 08:37:25 +00:00
|
|
|
.nf
|
2014-01-26 11:59:10 +00:00
|
|
|
Define the inner margin of the window. Default is 5 pixels.
|
2014-03-01 16:27:52 +00:00
|
|
|
To make rofi look like dmenu:
|
2014-05-22 08:37:25 +00:00
|
|
|
rofi \-hmode \-padding 0
|
|
|
|
.fi
|
2014-01-26 11:59:10 +00:00
|
|
|
.RE
|
2014-05-22 08:37:25 +00:00
|
|
|
.PP
|
|
|
|
\fB\fC\-dmenu\fR
|
|
|
|
.IP
|
2014-04-23 16:31:08 +00:00
|
|
|
Run rofi in dmenu mode. Allowing it to be used for user interaction in scripts.
|
2014-05-22 08:37:25 +00:00
|
|
|
.PP
|
|
|
|
\fB\fC\-dump\fR
|
|
|
|
.IP
|
|
|
|
Dump the current active configuration to the command\-line.
|
|
|
|
.PP
|
|
|
|
\fB\fC\-ssh\-set\-title\fR \fItrue|false\fP
|
|
|
|
.IP
|
|
|
|
SSH dialogs tries to set 'ssh hostname' of the spawned terminal.
|
2014-05-22 08:03:36 +00:00
|
|
|
Not all terminals support this.
|
|
|
|
Default value is true.
|
2014-01-16 08:21:48 +00:00
|
|
|
.SH Switch between modi
|
2014-05-22 08:37:25 +00:00
|
|
|
.PP
|
|
|
|
Type '?' \fIenter\fP to switch between window list, run and ssh mode.
|
|
|
|
.SH WEBSITE
|
|
|
|
.PP
|
|
|
|
\fB\fCrofi\fR website can be found at here
|
|
|
|
.UR https://davedavenport.github.io/rofi/
|
|
|
|
.UE
|
2012-06-29 17:29:23 +00:00
|
|
|
.SH AUTHOR
|
2014-05-22 08:37:25 +00:00
|
|
|
.PP
|
|
|
|
Qball Cow
|
|
|
|
.MT qball@gmpclient.org
|
|
|
|
.ME
|
|
|
|
.PP
|
|
|
|
Original code based on work by: Sean Pringle
|
|
|
|
.MT sean.pringle@gmail.com
|
|
|
|
.ME
|