.\" generated with Ronn/v0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3 . .TH "ROFI\-MANPAGE" "" "August 2015" "" "" . .SH "NAME" \fBrofi\fR \- A window switcher, run launcher, ssh dialog and dmenu replacement . .SH "SYNOPSIS" \fBrofi\fR [ \-width \fIpct_scr\fR ] [ \-lines \fIlines\fR ] [ \-columns \fIcolumns\fR ] [ \-font \fIpangofont\fR ] [ \-fg \fIcolor\fR ] [ \-fg\-urgent \fIcolor\fR ] [ \-fg\-active \fIcolor\fR ] [ \-bg\-urgent \fIcolor\fR ] [ \-bg\-active \fIcolor\fR ] [ \-bg \fIcolor\fR ] [ \-bgalt \fIcolor\fR ] [ \-hlfg \fIcolor\fR ] [ \-hlbg \fIcolor\fR ] [ \-key\-\fBmode\fR \fIcombo\fR ] [ \-terminal \fIterminal\fR ] [ \-location \fIposition\fR ] [ \-fixed\-num\-lines ] [ \-padding \fIpadding\fR ] [ \-opacity \fIopacity%\fR ] [ \-display \fIdisplay\fR ] [ \-bc \fIcolor\fR ] [ \-bw \fIwidth\fR ] [ \-dmenu [ \-p \fIprompt\fR ] [ \-sep \fIseparator\fR ] [ \-l \fIselected line\fR ] [ \-mesg ] [ \-filter ] [ \-select ] ] [ \-ssh\-client \fIclient\fR ] [ \-ssh\-command \fIcommand\fR ] [ \-disable\-history ] [ \-levenshtein\-sort ] [ \-case\-sensitive ] [ \-show \fImode\fR ] [ \-modi \fImode1,mode2\fR ] [ \-eh \fIelement height\fR ] [ \-lazy\-filter\-limit \fIlimit\fR ] [ \-e \fImessage\fR] [ \-a \fIrow\fR ] [ \-u \fIrow\fR ] [ \-pid \fIpath\fR ] [ \-now ] [ \-rnow ] [ \-snow ] [ \-version ] [ \-help] [ \-dump\-xresources ] [ \-auto\-select ] [ \-parse\-hosts ] [ \-combi\-modi \fImode1,mode2\fR ] [ \-quiet ] . .SH "DESCRIPTION" \fBrofi\fR is an X11 popup window switcher, run dialog, dmenu replacement and more\. It focuses on being fast to use and have minimal distraction\. It supports keyboard and mouse navigation, type to filter, tokenized search and more\. . .SH "USAGE" \fBrofi\fR can be used in three ways, single\-shot; executes once and directly exits when done, as a daemon listening to specific key\-combination or emulating dmenu\. . .SS "Single\-shot mode" To launch \fBrofi\fR directly in a certain mode, specifying \fBrofi \-show \fR\. To show the run dialog: . .IP "" 4 . .nf rofi \-show run . .fi . .IP "" 0 . .SS "Daemon mode" To launch \fBrofi\fR in daemon mode don\'t specify a mode to show (\fB\-show \fR), instead you can bind keys to launch a certain mode\. To have run mode open when pressing \fBF2\fR start \fBrofi\fR like: . .IP "" 4 . .nf rofi \-key\-run F2 . .fi . .IP "" 0 . .P Keybindings can also be specified in the \fBXresources\fR file\. . .SS "Emulating dmenu" \fBrofi\fR can emulate \fBdmenu\fR (a dynamic menu for X) when launched with the \fB\-dmenu\fR flag\. . .P The official website for \fBdmenu\fR can be found here \fIhttp://tools\.suckless\.org/dmenu/\fR\. . .SH "OPTIONS" There are currently three methods of setting configuration options: . .IP "\(bu" 4 Compile time: edit config\.c\. This method is strongly discouraged\. . .IP "\(bu" 4 Xresources: A method of storing key values in the Xserver\. See here \fIhttps://en\.wikipedia\.org/wiki/X_resources\fR for more information\. This is the recommended way of configuring \fBrofi\fR\. . .IP "\(bu" 4 Command\-line options: Arguments passed to \fBrofi\fR\. . .IP "" 0 . .P The Xresources options and the command\-line options are aliased\. So to set option X you would set: . .IP "" 4 . .nf rofi\.X: value . .fi . .IP "" 0 . .P In the Xresources file, and to (override) this via the command\-line you would pass the same key prefixed with a \'\-\': . .IP "" 4 . .nf rofi \-X value . .fi . .IP "" 0 . .P To get a list of available options, formatted as Xresources entries run: . .IP "" 4 . .nf rofi \-dump\-xresources . .fi . .IP "" 0 . .P The configuration system supports the following types: . .IP "\(bu" 4 String . .IP "\(bu" 4 Integer (signed and unsigned) . .IP "\(bu" 4 Char . .IP "\(bu" 4 Boolean . .IP "" 0 . .P The boolean option has a non\-default command\-line syntax, to enable option X you do: . .IP "" 4 . .nf \-X . .fi . .IP "" 0 . .P to disable it: . .IP "" 4 . .nf \-no\-X . .fi . .IP "" 0 . .P Below is a list of the most important options: . .SS "General" \fB\-key\-{mode}\fR \fBKEY\fR . .P Set the key combination to display a {mode} in daemon mode\. . .IP "" 4 . .nf rofi \-key\-run F12 rofi \-key\-ssh control+shift+s rofi \-key\-window mod1+Tab . .fi . .IP "" 0 . .P \fB\-dmenu\fR . .P Run \fBrofi\fR in dmenu mode\. Allowing it to be used for user interaction in scripts\. . .P In \fBdmenu\fR mode, \fBrofi\fR will read input from STDIN, and will output to STDOUT by default\. . .P Example to let the user choose between three pre\-defined options: . .IP "" 4 . .nf echo \-e "Option #1\enOption #2\enOption #3" | rofi \-dmenu . .fi . .IP "" 0 . .P Or get the options from a script: . .IP "" 4 . .nf ~/my_script\.sh | rofi \-dmenu . .fi . .IP "" 0 . .P Pressing \fBshift\-enter\fR will open the selected entries and move to the next entry\. . .P \fB\-show\fR \fImode\fR . .P Open \fBrofi\fR in a certain mode\. . .P For example to show the run\-dialog: . .IP "" 4 . .nf rofi \-show run . .fi . .IP "" 0 . .P This function deprecates \-rnow,\-snow and \-now . .P \fB\-switchers\fR \fImode1,mode1\fR \fB\-modi\fR \fImode1,mode1\fR . .P Give a comma separated list of modes to enable, in what order\. . .P For example to only show the run and ssh launcher (in that order): . .IP "" 4 . .nf rofi \-modi "run,ssh" \-show run . .fi . .IP "" 0 . .P Custom modes can be added using the internal \'script\' mode\. Each mode has two parameters: . .IP "" 4 . .nf :