.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 ] [ \-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 ] [ \-sep \fIseparator\fP ] [ \-l \fIselected line\fP ] ] [ \-ssh\-client \fIclient\fP ] [ \-ssh\-command \fIcommand\fP ] [ \-disable\-history ] [ \-levenshtein\-sort ] [ \-case\-sensitive ] [ \-show \fImode\fP ] [ \-switcher \fImode1,mode2\fP ] [ \-eh \fIelement height\fP ] [ \-lazy\-filter\-limit \fIlimit\fP ] [ \-e \fImessage\fP] [ \-now ] [ \-rnow ] [ \-snow ] [ \-version ] [ \-help] [ \-dump\-xresources ] .SH DESCRIPTION .PP \fBrofi\fP is an X11 popup window switcher, run dialog, dmenu replacement and more. It focusses on being fast to use and have minimal distraction. It supports keyboard and mouse navigation, type to filter, tokenized search and more. .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 ssh\-dialog. .SH OPTIONS .PP \fB\fC\-key\fR .IP Change the key combination to display all windows. .PP .RS .nf rofi \-key F12 rofi \-key control+shift+s rofi \-key mod1+Tab .fi .RE .IP Default: \fIF12\fP .PP \fB\fC\-rkey\fR .IP Change the key combination to display the run dialog. .PP .RS .nf rofi \-rkey F11 rofi \-rkey control+shift+d rofi \-rkey mod1+grave (grave=backtick) .fi .RE .IP Default: \fIAlt\-F2\fP .PP \fB\fC\-skey\fR .IP Change the key combination to display the ssh dialog. .PP .RS .nf rofi \-skey F10 rofi \-skey control+shift+s rofi \-skey mod1+grave (grave=backtick) .fi .RE .IP Default: \fIAlt\-F3\fP .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 :