rofi/doc/rofi.1

255 lines
4.4 KiB
Groff
Raw Normal View History

2014-05-22 08:03:36 +00:00
.TH ROFI 1 rofi
2012-06-29 17:29:23 +00:00
.SH NAME
2014-03-01 16:27:52 +00:00
rofi \- a simple EWMH window switcher
2012-06-29 17:29:23 +00:00
.SH SYNOPSIS
2014-05-22 08:03:36 +00:00
.B rofi
2012-06-29 17:29:23 +00:00
.RB [ \-width
.IR pct_scr ]
.RB [ \-lines
.IR lines ]
.RB [ \-columns
.IR columns ]
2012-06-29 17:29:23 +00:00
.RB [ \-font
.IR xftfont ]
.RB [ \-fg
.IR color ]
.RB [ \-bg
.IR color ]
.RB [ \-hlfg
.IR color ]
.RB [ \-hlbg
.IR color ]
.RB [ \-key
.IR combo ]
.RB [ \-dkey
.IR comdo ]
2014-04-23 16:31:08 +00:00
.RB [ \-rkey
2014-01-26 14:39:50 +00:00
.IR comdo ]
2012-06-29 17:29:23 +00:00
.RB [ \-now ]
2014-01-14 05:36:12 +00:00
.RB [ \-rnow ]
2014-01-21 09:13:42 +00:00
.RB [ \-snow ]
.RB [ \-terminal
.IR terminal
]
2014-01-26 11:59:10 +00:00
.RB [ \-loc
.IR position ]
2014-01-26 11:59:10 +00:00
.RB [ \-hmode ]
.RB [ \-fixed\-num\-lines ]
2014-01-26 11:59:10 +00:00
.RB [ \-padding
.IR padding
]
.RB [ \-opacity
.IR opacity %
]
2014-04-23 16:31:08 +00:00
.RB [ \-version ]
.RB [ \-help]
.RB [ \-display
.IR display ]
2014-05-22 08:03:36 +00:00
.RB [ \-bc
2014-04-23 16:31:08 +00:00
.IR color ]
2014-05-22 08:03:36 +00:00
.RB [ \-bw
2014-04-23 16:31:08 +00:00
.IR width ]
2014-05-22 08:03:36 +00:00
.RB [ \-dmenu
2014-04-23 16:31:08 +00:00
.RB [ \-p
.IR prompt
]
2014-05-21 21:50:29 +00:00
.RB [ \-dump ]
2014-05-22 08:03:36 +00:00
.RB [ \-ssh\-set\-title
true|false
]
2012-06-29 17:29:23 +00:00
.SH DESCRIPTION
2014-03-01 16:27:52 +00:00
.I rofi
2012-06-29 17:29:23 +00:00
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.
.P
License: MIT/X11
.SH USAGE
See options below for custom key combinations. These are the defaults.
.TP
.B F12
Show all windows on all desktops.
.TP
2014-01-26 11:59:10 +00:00
.B mod1-F2
2014-01-14 05:36:12 +00:00
Show run-dialog.
2012-06-29 17:29:23 +00:00
.SH OPTIONS
.TP
.B -key
Change the key combination to display all windows (default: F12).
.P
.RS
2014-03-01 16:27:52 +00:00
rofi -key F12
2012-06-29 17:29:23 +00:00
.br
2014-03-01 16:27:52 +00:00
rofi -key control+shift+s
2012-06-29 17:29:23 +00:00
.br
2014-03-01 16:27:52 +00:00
rofi -key mod1+Tab
2012-06-29 17:29:23 +00:00
.RE
.TP
2014-01-14 05:36:12 +00:00
.B -rkey
Change the key combination to display the run dialog (default: mod1-F2).
2012-06-29 17:29:23 +00:00
.P
.RS
2014-03-01 16:27:52 +00:00
rofi -rkey F11
2012-06-29 17:29:23 +00:00
.br
2014-03-01 16:27:52 +00:00
rofi -rkey control+shift+d
2012-06-29 17:29:23 +00:00
.br
2014-03-01 16:27:52 +00:00
rofi -rkey mod1+grave (grave=backtick)
2012-06-29 17:29:23 +00:00
.RE
.TP
2014-01-21 09:13:42 +00:00
.B -skey
2014-01-26 14:39:50 +00:00
Change the key combination to display the ssh dialog (default: Alt-F3).
2014-01-21 09:13:42 +00:00
.P
.RS
2014-03-01 16:27:52 +00:00
rofi -skey F10
2014-01-21 09:13:42 +00:00
.br
2014-03-01 16:27:52 +00:00
rofi -skey control+shift+s
2014-01-21 09:13:42 +00:00
.br
2014-03-01 16:27:52 +00:00
rofi -skey mod1+grave (grave=backtick)
2014-01-21 09:13:42 +00:00
.RE
.TP
2012-06-29 17:29:23 +00:00
.B -now
2014-03-01 16:27:52 +00:00
Run rofi in all-windows mode once then exit. Does not bind any keys.
2012-06-29 17:29:23 +00:00
.TP
2014-01-14 05:36:12 +00:00
.B -rnow
2014-03-01 16:27:52 +00:00
Run rofi in run-dialog mode once then exit. Does not bind any keys.
2014-01-14 05:36:12 +00:00
.TP
2014-01-21 09:13:42 +00:00
.B -snow
2014-03-01 16:27:52 +00:00
Run rofi in ssh mode once then exit. Does not bind any keys.
2014-01-21 09:13:42 +00:00
.TP
2012-06-29 17:29:23 +00:00
.B -bg
Set the background text color (X11 named color or hex #rrggbb) for the menu (default: #222222).
.P
.RS
2014-03-01 16:27:52 +00:00
rofi -fg "#222222"
2012-06-29 17:29:23 +00:00
.RE
.TP
2012-07-18 12:14:13 +00:00
.B -bc
Set the border color (X11 named color or hex #rrggbb) for the menu (default: #000000).
.P
.RS
2014-03-01 16:27:52 +00:00
rofi -bc black
2012-07-18 12:14:13 +00:00
.RE
.TP
.B -bw
Set the border width in pixels (default: 1).
.P
.RS
2014-03-01 16:27:52 +00:00
rofi -bw 1
2012-07-18 12:14:13 +00:00
.RE
.TP
2012-06-29 17:29:23 +00:00
.B -fg
Set the foreground text color (X11 named color or hex #rrggbb) for the menu (default: #cccccc).
.P
.RS
2014-03-01 16:27:52 +00:00
rofi -fg "#cccccc"
2012-06-29 17:29:23 +00:00
.RE
.TP
.B -font
Xft font name for use by the menu (default: mono-14).
.P
.RS
2014-03-01 16:27:52 +00:00
rofi -font monospace-14:medium
2012-06-29 17:29:23 +00:00
.RE
.TP
.B -hlbg
Set the background text color (X11 named color or hex #rrggbb) for the highlighted item in the menu (default: #005577).
.P
.RS
2014-03-01 16:27:52 +00:00
rofi -fg "#005577"
2012-06-29 17:29:23 +00:00
.RE
.TP
.B -hlfg
Set the foreground text color (X11 named color or hex #rrggbb) for the highlighted item in the menu (default: #ffffff).
.P
.RS
2014-03-01 16:27:52 +00:00
rofi -fg "#ffffff"
2012-06-29 17:29:23 +00:00
.RE
.TP
.B -opacity
2014-01-26 11:59:10 +00:00
Set the window opacity (0-100).
.P
.RS
rofi -opacity "75"
.RE
.TP
2012-06-29 17:29:23 +00:00
.B -lines
Maximum number of lines the menu may show before scrolling (default: 25).
2012-06-29 17:29:23 +00:00
.P
.RS
2014-03-01 16:27:52 +00:00
rofi -lines 25
2012-06-29 17:29:23 +00:00
.RE
.TP
.B -columns
The number of columns the menu may show before scrolling (default: 25).
.P
.RS
rofi -columns 2
.RE
.TP
2012-06-29 17:29:23 +00:00
.B -width
Set the width of the menu as a percentage of the screen width (default: 60).
.P
.RS
2014-03-01 16:27:52 +00:00
rofi -width 60
2012-06-29 17:29:23 +00:00
.RE
.TP
.B -terminal
Specify what terminal to start (default x-terminal-emulator)
.P
.RS
rofi -terminal xterm
.RE
.TP
.B -loc
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:
.RS
.TP
1 2 3
.TP
8 0 4
.TP
7 6 5
.RE
2014-01-26 11:59:10 +00:00
.TP
.B -hmode
Switch to horizontal mode (ala dmenu). The number of elements is the number of
.IR lines
2014-05-22 08:03:36 +00:00
times the number of
.IR columns
.
.TP
.B -fixed-num-lines
2014-05-22 08:03:36 +00:00
Keep a fixed number of visible lines (See the
2014-01-26 11:59:10 +00:00
.IR -lines
option.)
2014-01-26 11:59:10 +00:00
.TP
.B -padding
Define the inner margin of the window. Default is 5 pixels.
.RS
2014-03-01 16:27:52 +00:00
To make rofi look like dmenu:
2014-01-26 11:59:10 +00:00
.TP
2014-03-01 16:27:52 +00:00
rofi -hmode -padding 0
2014-01-26 11:59:10 +00:00
.RE
2014-04-23 16:31:08 +00:00
.TP
.B -dmenu
Run rofi in dmenu mode. Allowing it to be used for user interaction in scripts.
2014-05-21 21:50:29 +00:00
.RE
.TP
.B -dump
Dump the current active configuration to the command-line.
2014-05-22 08:03:36 +00:00
.RE
.TP
.B -ssh-set-title true|false
SSH dialogs tries to set 'ssh <hostname>' of the spawned terminal.
Not all terminals support this.
Default value is true.
2014-04-23 16:31:08 +00:00
.RS
.SH Switch between modi
2014-04-23 16:31:08 +00:00
Type '?'<enter> to switch between window list, run and ssh mode.
2012-06-29 17:29:23 +00:00
.SH SEE ALSO
2014-03-01 16:27:52 +00:00
.BR rofi (1)
2012-06-29 17:29:23 +00:00
.SH AUTHOR
2014-01-14 05:36:12 +00:00
Qball Cow <qball@gmpclient.org>
2014-03-01 16:27:52 +00:00
.br
Original code based on work by: Sean Pringle <sean.pringle@gmail.com>