.TH ROFI 1 rofi .SH NAME .PP rofi \- A window switcher, run dialog and dmenu replacement .SH SYNOPSIS .PP \fBrofi\fP [ \-width \fIpct_scr\fP ] [ \-lines \fIlines\fP ] [ \-columns \fIcolumns\fP ] [ \-font \fIpangofont\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 ] [ \-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 ] [ \-disable\-history ] [ \-levenshtein\-sort ] [ \-show \fImode\fP ] [ \-switcher \fImode1,mode2\fP ] [ \-e \fImessage\fP] [ \-sep \fIseparator\fP ] [ \-eh \fIelement height\fP ] .SH DESCRIPTION .PP \fBrofi\fP 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 .SH USAGE .PP \fBrofi\fP 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. .SH OPTIONS .PP \fB\fC\-key\fR .IP Change the key combination to display all windows (default: F12). .PP .RS .nf rofi \-key F12 rofi \-key control+shift+s rofi \-key mod1+Tab .fi .RE .PP \fB\fC\-rkey\fR .IP Change the key combination to display the run dialog (default: mod1\-F2). .PP .RS .nf rofi \-rkey F11 rofi \-rkey control+shift+d rofi \-rkey mod1+grave (grave=backtick) .fi .RE .PP \fB\fC\-skey\fR .IP Change the key combination to display the ssh dialog (default: Alt\-F3). .PP .RS .nf rofi \-skey F10 rofi \-skey control+shift+s rofi \-skey mod1+grave (grave=backtick) .fi .RE .PP \fB\fC\-now\fR .IP Run rofi in all\-windows mode once then exit. Does not bind any keys. .PP \fB\fC\-rnow\fR .IP Run rofi in run\-dialog mode once then exit. Does not bind any keys. .PP \fB\fC\-snow\fR .IP Run rofi in ssh mode once then exit. Does not bind any keys. .PP \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 :