mirror of
https://github.com/lbonn/rofi
synced 2024-12-21 01:33:11 +00:00
dd715fa1ad
* and manpage
1482 lines
30 KiB
Groff
1482 lines
30 KiB
Groff
.\" generated with Ronn/v0.7.3
|
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
|
.
|
|
.TH "ROFI\-MANPAGE" "" "April 2017" "" ""
|
|
.
|
|
.SH "NAME"
|
|
\fBrofi\fR \- A window switcher, application launcher, ssh dialog and dmenu replacement
|
|
.
|
|
.SH "SYNOPSIS"
|
|
\fBrofi\fR [ \-width \fIpct_scr\fR ] [ \-lines \fIlines\fR ] [ \-columns \fIcolumns\fR ] [ \-font \fIpangofont\fR ] [ \-terminal \fIterminal\fR ] [ \-location \fIposition\fR ] [ \-fixed\-num\-lines ] [ \-padding \fIpadding\fR ] [ \-display \fIdisplay\fR ] [ \-bw \fIwidth\fR ] [ \-dmenu [ \-p \fIprompt\fR ] [ \-sep \fIseparator\fR ] [ \-l \fIselected line\fR ] [ \-mesg ] [ \-select ] [ \-input \fIinput\fR ] ] [ \-filter \fIfilter\fR ] [ \-ssh\-client \fIclient\fR ] [ \-ssh\-command \fIcommand\fR ] [ \-window\-command \fIcommand\fR ] [ \-disable\-history ] [ \-levenshtein\-sort ] [ \-case\-sensitive ] [ \-cycle ] [ \-show \fImode\fR ] [ \-modi \fImode1,mode2\fR ] [ \-eh \fIelement height\fR ] [ \-e \fImessage\fR] [ \-a \fIrow\fR ] [ \-u \fIrow\fR ] [ \-pid \fIpath\fR ] [ \-version ] [ \-help ] [ \-dump\-xresources ] [ \-auto\-select ] [ \-parse\-hosts ] [ \-no\-parse\-known\-hosts ] [ \-combi\-modi \fImode1,mode2\fR ] [ \-normal\-window ] [ \-fake\-transparency ] [ \-matching \fImethod\fR ] [ \-tokenize ] [ \-no\-click\-to\-exit ] [ \-threads \fInum\fR ] [ \-config \fIfilename\fR ] [ \-no\-show\-match ] [ \-theme \fIfilename\fR ] [ \-theme\-str \fIstring\fR ] [ \-dpi \fIdpi\fR ]
|
|
.
|
|
.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 main functionality is to assist in your workflow, allowing you to quickly (with a few keystrokes) switch between windows, start applications or log into a remote machine via ssh\. There are different modi for different type of actions\.
|
|
.
|
|
.P
|
|
\fBrofi\fR can also function as (drop in) replacement for \fBdmenu(1)\fR\.
|
|
.
|
|
.SS "Running rofi"
|
|
To launch \fBrofi\fR directly in a certain mode, specify a mode with \fBrofi \-show <mode>\fR\. To show the run dialog:
|
|
.
|
|
.IP "" 4
|
|
.
|
|
.nf
|
|
|
|
rofi \-show run
|
|
.
|
|
.fi
|
|
.
|
|
.IP "" 0
|
|
.
|
|
.SS "Emulating dmenu"
|
|
\fBrofi\fR can emulate \fBdmenu(1)\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 "CONFIGURATION"
|
|
There are currently three methods of setting configuration options (evaluated in order below):
|
|
.
|
|
.IP "\(bu" 4
|
|
System configuration file (f\.e\. /etc/rofi\.conf)\.
|
|
.
|
|
.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
|
|
Configuration File: This uses the same format as the Xresources file\. By default it looks in \fBXDG_USER_CONFIG_DIR\fR/rofi/config, but can be overriden on commandline\. By default XDG_USER_CONFIG_DIR defaults to \fB$HOME/\.config\fR\. (See \fBrofi \-h\fR for current location)\.
|
|
.
|
|
.IP "\(bu" 4
|
|
Command\-line options: Arguments passed to \fBrofi\fR\.
|
|
.
|
|
.IP "" 0
|
|
.
|
|
.P
|
|
\fBTIP\fR: To get a template config file run: \fBrofi \-dump\-xresources > rofi\-example\.config\fR\.
|
|
.
|
|
.P
|
|
The Xresources file expects options starting with \fBrofi\.\fR followed by it\'s name\. An Example to set the number of lines:
|
|
.
|
|
.IP "" 4
|
|
.
|
|
.nf
|
|
|
|
rofi\.lines: 10
|
|
.
|
|
.fi
|
|
.
|
|
.IP "" 0
|
|
.
|
|
.P
|
|
Command line options override settings from Xresources file\. The same option set as argument: prefixed with a \'\-\':
|
|
.
|
|
.IP "" 4
|
|
.
|
|
.nf
|
|
|
|
rofi \-lines 10
|
|
.
|
|
.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
|
|
Boolean options have a non\-default command\-line syntax\. Example to enable option X:
|
|
.
|
|
.IP "" 4
|
|
.
|
|
.nf
|
|
|
|
\-X
|
|
.
|
|
.fi
|
|
.
|
|
.IP "" 0
|
|
.
|
|
.P
|
|
To disable option X:
|
|
.
|
|
.IP "" 4
|
|
.
|
|
.nf
|
|
|
|
\-no\-X
|
|
.
|
|
.fi
|
|
.
|
|
.IP "" 0
|
|
.
|
|
.P
|
|
Below is a list of the most important options:
|
|
.
|
|
.SS "General"
|
|
\fB\-help\fR
|
|
.
|
|
.P
|
|
The help option shows the full list of commandline options and the current set value\. These include dynamic (run\-time generated) options\.
|
|
.
|
|
.P
|
|
\fB\-dump\-xresources\fR
|
|
.
|
|
.P
|
|
Dump the current active configuration in Xresources format to the command\-line\. This does not validate all passed values (e\.g\. colors)\.
|
|
.
|
|
.P
|
|
\fB\-threads\fR \fInum\fR
|
|
.
|
|
.P
|
|
Specify the number of threads \fBrofi\fR should use:
|
|
.
|
|
.IP "\(bu" 4
|
|
0: Autodetect the number of supported hardware threads\.
|
|
.
|
|
.IP "\(bu" 4
|
|
1: Disable threading
|
|
.
|
|
.IP "\(bu" 4
|
|
2\.\.N: Specify the maximum number of threads to use in the thread pool\.
|
|
.
|
|
.IP "" 0
|
|
.
|
|
.P
|
|
\fB\-dmenu\fR
|
|
.
|
|
.P
|
|
Run \fBrofi\fR in dmenu mode\. This allows for interactive scripts\. In \fBdmenu\fR mode, \fBrofi\fR reads from STDIN, and output to STDOUT\. A simple example, displaying 3 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
|
|
\fB\-show\fR \fImode\fR
|
|
.
|
|
.P
|
|
Open \fBrofi\fR in a certain mode\. Available modes are \fBwindow\fR, \fBrun\fR, \fBdrun\fR, \fBssh\fR, \fBcombi\fR\. The special argument \fBkeys\fR can be used to open a searchable list of supported keybindings (see \fIKEYBINDINGS\fR)
|
|
.
|
|
.P
|
|
To show the run\-dialog:
|
|
.
|
|
.IP "" 4
|
|
.
|
|
.nf
|
|
|
|
rofi \-show run
|
|
.
|
|
.fi
|
|
.
|
|
.IP "" 0
|
|
.
|
|
.P
|
|
\fB\-modi\fR \fImode1,mode1\fR
|
|
.
|
|
.P
|
|
Specify a ordered, comma separated list of modes to enable\. Enabled modes can be changed at runtime\. Default key is Ctrl+Tab\. If no modes are specified all modes will be enabled\. To only show the run and ssh launcher:
|
|
.
|
|
.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
|
|
|
|
<name>:<script>
|
|
.
|
|
.fi
|
|
.
|
|
.IP "" 0
|
|
.
|
|
.P
|
|
Example: Have a mode \'Workspaces\' using the \fBi3_switch_workspaces\.sh\fR script:
|
|
.
|
|
.IP "" 4
|
|
.
|
|
.nf
|
|
|
|
rofi \-modi "window,run,ssh,Workspaces:i3_switch_workspaces\.sh" \-show Workspaces
|
|
.
|
|
.fi
|
|
.
|
|
.IP "" 0
|
|
.
|
|
.P
|
|
Notes: The I3 Window manager does not like commas in the command when specifying an exec command\. For that case \'#\' can be used as an separator\.
|
|
.
|
|
.P
|
|
\fB\-case\-sensitive\fR
|
|
.
|
|
.P
|
|
Start in case sensitive mode\. This option can be changed at run\-time using the \fB\-kb\-toggle\-case\-sensitivity\fR key binding\.
|
|
.
|
|
.P
|
|
\fB\-cycle\fR
|
|
.
|
|
.P
|
|
Cycle through the results list\. Default is \'true\'\.
|
|
.
|
|
.P
|
|
\fB\-filter\fR \fIfilter\fR
|
|
.
|
|
.P
|
|
Filter the list by setting text in input bar to \fIfilter\fR
|
|
.
|
|
.P
|
|
\fB\-config\fR \fIfilename\fR
|
|
.
|
|
.P
|
|
Load alternative configuration file\.
|
|
.
|
|
.P
|
|
\fB\-scroll\-method\fR \fImethod\fR
|
|
.
|
|
.P
|
|
Select the scrolling method\. 0: Per page, 1: continuous\.
|
|
.
|
|
.P
|
|
\fB\-no\-show\-match\fR
|
|
.
|
|
.P
|
|
Hide the indicator that shows what part of the string is matched\.
|
|
.
|
|
.P
|
|
\fB\-no\-lazy\-grab\fR
|
|
.
|
|
.P
|
|
Disables lazy grab, this forces the keyboard being grabbed before gui is shown\.
|
|
.
|
|
.P
|
|
\fB\-no\-plugins\fR
|
|
.
|
|
.P
|
|
Disable plugin loading\.
|
|
.
|
|
.P
|
|
\fB\-plugin\-path\fR \fIdirectory\fR
|
|
.
|
|
.P
|
|
Specify the directory where \fIrofi\fR should look for plugins\.
|
|
.
|
|
.SS "Matching"
|
|
\fB\-matching\fR \fImethod\fR
|
|
.
|
|
.P
|
|
Specify the matching algorithm used\. Current the following methods are supported\.
|
|
.
|
|
.IP "\(bu" 4
|
|
\fBnormal\fR: Match the int string\.
|
|
.
|
|
.IP "\(bu" 4
|
|
\fBregex\fR: Match a regex input\.
|
|
.
|
|
.IP "\(bu" 4
|
|
\fBglob\fR: Match a glob pattern\.
|
|
.
|
|
.IP "\(bu" 4
|
|
\fBfuzzy\fR: Do a fuzzy match\.
|
|
.
|
|
.IP
|
|
Default: \fInormal\fR
|
|
.
|
|
.IP "" 0
|
|
.
|
|
.P
|
|
Note: glob matching might be slow for larger lists
|
|
.
|
|
.P
|
|
\fB\-tokenize\fR
|
|
.
|
|
.P
|
|
Tokenize the input\.
|
|
.
|
|
.SS "Layout"
|
|
Most of the following options are \fBdeprecated\fR and should not be used\. Please use the new theme format to customize rofi\.
|
|
.
|
|
.P
|
|
\fB\-lines\fR
|
|
.
|
|
.P
|
|
Maximum number of lines to show before scrolling\.
|
|
.
|
|
.IP "" 4
|
|
.
|
|
.nf
|
|
|
|
rofi \-lines 25
|
|
.
|
|
.fi
|
|
.
|
|
.IP "" 0
|
|
.
|
|
.P
|
|
Default: \fI15\fR
|
|
.
|
|
.P
|
|
\fB\-columns\fR
|
|
.
|
|
.P
|
|
Number of columns to show before scrolling\.
|
|
.
|
|
.IP "" 4
|
|
.
|
|
.nf
|
|
|
|
rofi \-columns 2
|
|
.
|
|
.fi
|
|
.
|
|
.IP "" 0
|
|
.
|
|
.P
|
|
Default: \fI1\fR
|
|
.
|
|
.P
|
|
\fB\-width\fR [value]
|
|
.
|
|
.P
|
|
Set width of menu\. \fB[value]\fR is specified in percentage\.
|
|
.
|
|
.IP "" 4
|
|
.
|
|
.nf
|
|
|
|
rofi \-width 60
|
|
.
|
|
.fi
|
|
.
|
|
.IP "" 0
|
|
.
|
|
.P
|
|
If \fB[value]\fR is larger then 100, size is set in pixels\. Example to span a full hd monitor:
|
|
.
|
|
.IP "" 4
|
|
.
|
|
.nf
|
|
|
|
rofi \-width 1920
|
|
.
|
|
.fi
|
|
.
|
|
.IP "" 0
|
|
.
|
|
.P
|
|
If \fB[value]\fR is negative, it tries to estimates a character width\. To show 30 characters on a row:
|
|
.
|
|
.IP "" 4
|
|
.
|
|
.nf
|
|
|
|
rofi \-width \-30
|
|
.
|
|
.fi
|
|
.
|
|
.IP "" 0
|
|
.
|
|
.P
|
|
Character width is a rough estimation, and might not be correct, but should work for most monospaced fonts\.
|
|
.
|
|
.P
|
|
Default: \fI50\fR
|
|
.
|
|
.P
|
|
\fB\-location\fR
|
|
.
|
|
.P
|
|
Specify where the window should be located\. The numbers map to the following locations on screen:
|
|
.
|
|
.IP "" 4
|
|
.
|
|
.nf
|
|
|
|
1 2 3
|
|
8 0 4
|
|
7 6 5
|
|
.
|
|
.fi
|
|
.
|
|
.IP "" 0
|
|
.
|
|
.P
|
|
Default: \fI0\fR
|
|
.
|
|
.P
|
|
\fB\-fixed\-num\-lines\fR
|
|
.
|
|
.P
|
|
Keep a fixed number of visible lines (See the \fB\-lines\fR option\.)
|
|
.
|
|
.P
|
|
\fB\-padding\fR
|
|
.
|
|
.P
|
|
Define the inner margin of the window\.
|
|
.
|
|
.P
|
|
Default: \fI5\fR
|
|
.
|
|
.P
|
|
\fB\-fullscreen\fR
|
|
.
|
|
.P
|
|
Use the full screen height and width\.
|
|
.
|
|
.P
|
|
\fB\-sidebar\-mode\fR
|
|
.
|
|
.P
|
|
Open in sidebar\-mode\. In this mode a list of all enabled modes is shown at the bottom\. (See \fB\-modi\fR option) To show sidebar use:
|
|
.
|
|
.IP "" 4
|
|
.
|
|
.nf
|
|
|
|
rofi \-show run \-sidebar\-mode \-lines 0
|
|
.
|
|
.fi
|
|
.
|
|
.IP "" 0
|
|
.
|
|
.P
|
|
\fB\-auto\-select\fR
|
|
.
|
|
.P
|
|
When one entry is left, automatically select it\.
|
|
.
|
|
.P
|
|
\fB\-m\fR \fInum\fR
|
|
.
|
|
.P
|
|
\fB\-m\fR \fIname\fR
|
|
.
|
|
.P
|
|
\fB\-monitor\fR \fInum\fR
|
|
.
|
|
.P
|
|
\fB\-monitor\fR \fIname\fR
|
|
.
|
|
.P
|
|
Select monitor to display \fBrofi\fR on\. As input it accepts: \fIprimary\fR (if primary output is set), the \fIxrandr\fR output name or integer number (in order of detection)\. Negative numbers are handled differently:
|
|
.
|
|
.IP "\(bu" 4
|
|
\fB\-1\fR: the currently focused monitor\.
|
|
.
|
|
.IP "\(bu" 4
|
|
\fB\-2\fR: the currently focused window (i\.e\. rofi will be displayed on top of the focused window)\.
|
|
.
|
|
.IP "\(bu" 4
|
|
\fB\-3\fR: Position at mouse (overrides the location setting to get normal context menu behaviour\.)
|
|
.
|
|
.IP "\(bu" 4
|
|
\fB\-4\fR: the monitor with the focused window\.
|
|
.
|
|
.IP "\(bu" 4
|
|
\fB\-5\fR: the monitor that shows the mouse pointer\.
|
|
.
|
|
.IP
|
|
Default: \fI\-5\fR
|
|
.
|
|
.IP "" 0
|
|
.
|
|
.P
|
|
See \fBrofi \-h\fR output for the detected monitors, their position and size\.
|
|
.
|
|
.P
|
|
\fB\-theme\fR \fIfilename\fR
|
|
.
|
|
.P
|
|
Path to the new theme file format\. This overrides the old theme settings\.
|
|
.
|
|
.P
|
|
\fB\-theme\-str\fR \fIstring\fR
|
|
.
|
|
.P
|
|
Allow theme parts to be specified on the commandline as an override\.
|
|
.
|
|
.P
|
|
For example
|
|
.
|
|
.IP "" 4
|
|
.
|
|
.nf
|
|
|
|
rofi \-theme\-str \'#window { fullscreen: true; }\'
|
|
.
|
|
.fi
|
|
.
|
|
.IP "" 0
|
|
.
|
|
.P
|
|
This option can be specified multiple times\.
|
|
.
|
|
.P
|
|
\fB\-dpi\fR \fInumber\fR
|
|
.
|
|
.P
|
|
Override the default DPI setting\. If set to \fB0\fR it tries to auto\-detect based on X11 screen size\. (Similar to i3 and GTK) If set to \fB1\fR it tries to auto\-detect based on monitor (rofi is displayed on) size\. (Similar to latest QT5)
|
|
.
|
|
.SS "PATTERN setting"
|
|
\fB\-terminal\fR
|
|
.
|
|
.P
|
|
Specify what terminal to start\.
|
|
.
|
|
.IP "" 4
|
|
.
|
|
.nf
|
|
|
|
rofi \-terminal xterm
|
|
.
|
|
.fi
|
|
.
|
|
.IP "" 0
|
|
.
|
|
.P
|
|
Pattern: \fI{terminal}\fR Default: \fIx\-terminal\-emulator\fR
|
|
.
|
|
.P
|
|
\fB\-ssh\-client\fR \fIclient\fR
|
|
.
|
|
.P
|
|
Override the used ssh client\.
|
|
.
|
|
.P
|
|
Pattern: \fI{ssh\-client}\fR Default: \fIssh\fR
|
|
.
|
|
.SS "SSH settings"
|
|
\fB\-ssh\-command\fR \fIcmd\fR
|
|
.
|
|
.P
|
|
Set the command to execute when starting a ssh session\. The pattern \fI{host}\fR is replaced by the selected ssh entry\.
|
|
.
|
|
.P
|
|
Pattern: \fI{ssh\-client}\fR Default: \fI{terminal} \-e {ssh\-client} {host}\fR
|
|
.
|
|
.P
|
|
\fB\-parse\-hosts\fR
|
|
.
|
|
.P
|
|
Parse the \fB/etc/hosts\fR file for entries\.
|
|
.
|
|
.P
|
|
Default: \fIdisabled\fR
|
|
.
|
|
.P
|
|
\fB\-parse\-known\-hosts\fR \fB\-no\-parse\-known\-hosts\fR
|
|
.
|
|
.P
|
|
Parse the \fB~/\.ssh/known_hosts\fR file for entries\.
|
|
.
|
|
.P
|
|
Default: \fIenabled\fR
|
|
.
|
|
.SS "Run settings"
|
|
\fB\-run\-command\fR \fIcmd\fR
|
|
.
|
|
.P
|
|
Set command (\fI{cmd}\fR) to execute when running an application\. See \fIPATTERN\fR\.
|
|
.
|
|
.P
|
|
Default: \fI{cmd}\fR
|
|
.
|
|
.P
|
|
\fB\-run\-shell\-command\fR \fIcmd\fR
|
|
.
|
|
.P
|
|
Set command to execute when running an application in a shell\. See \fIPATTERN\fR\.
|
|
.
|
|
.P
|
|
Default: \fI{terminal} \-e {cmd}\fR
|
|
.
|
|
.P
|
|
\fB\-run\-list\-command\fR \fIcmd\fR
|
|
.
|
|
.P
|
|
If set, use an external tool to generate list of executable commands\. Uses \'run\-command\'
|
|
.
|
|
.P
|
|
Default: \fI""\fR
|
|
.
|
|
.SS "Window switcher settings"
|
|
\fB\-window\-format\fR \fIformat\fR
|
|
.
|
|
.P
|
|
Format what is being displayed for windows\.
|
|
.
|
|
.P
|
|
\fIformat\fR: {field[:len]}
|
|
.
|
|
.P
|
|
\fIfield\fR:
|
|
.
|
|
.IP "\(bu" 4
|
|
\fBw\fR: Desktop name
|
|
.
|
|
.IP "\(bu" 4
|
|
\fBt\fR: Title of window
|
|
.
|
|
.IP "\(bu" 4
|
|
\fBn\fR: Name
|
|
.
|
|
.IP "\(bu" 4
|
|
\fBr\fR: Role
|
|
.
|
|
.IP "\(bu" 4
|
|
\fBc\fR: Class
|
|
.
|
|
.IP "" 0
|
|
.
|
|
.P
|
|
\fIlen\fR: maximum field length (0 for auto\-size)\. If length negative and window \fIwidth\fR is negative field length is \fIwidth \- len\fR\. if length is positive, the entry will be truncated or padded to fill that length\.
|
|
.
|
|
.P
|
|
default: {w} {c} {t}
|
|
.
|
|
.P
|
|
\fB\-window\-command\fR \fIcmd\fR
|
|
.
|
|
.P
|
|
Set command to execute on selected window for custom action\. See \fIPATTERN\fR\.
|
|
.
|
|
.P
|
|
Default: \fI"xkill \-id {window}"\fR
|
|
.
|
|
.SS "Combi settings"
|
|
\fB\-combi\-modi\fR \fImode1,mode2\fR
|
|
.
|
|
.P
|
|
The modi to combine in combi mode\. For syntax to see \fB\-modi\fR\. To get one merge view, of window,run,ssh:
|
|
.
|
|
.IP "" 4
|
|
.
|
|
.nf
|
|
|
|
rofi \-show combi \-combi\-modi "window,run,ssh" \-modi combi
|
|
.
|
|
.fi
|
|
.
|
|
.IP "" 0
|
|
.
|
|
.P
|
|
Notes: The I3 Window manager does not like commas in the command when specifying an exec command\. For that case \'#\' can be used as an separator\.
|
|
.
|
|
.SS "History and Sorting"
|
|
\fB\-disable\-history\fR \fB\-no\-disable\-history\fR (re\-enable history)
|
|
.
|
|
.P
|
|
Disable history
|
|
.
|
|
.P
|
|
\fB\-levenshtein\-sort\fR to enable \fB\-no\-levenshtein\-sort\fR to disable
|
|
.
|
|
.P
|
|
When searching sort the result based on levenshtein distance\. This setting can be changed at runtime, see \fB\-kb\-toggle\-sort\fR\.
|
|
.
|
|
.SS "Dmenu specific"
|
|
\fB\-sep\fR \fIseparator\fR
|
|
.
|
|
.P
|
|
Separator for dmenu\. Example: To show list \'a\' to \'e\' with \'|\' as separator:
|
|
.
|
|
.IP "" 4
|
|
.
|
|
.nf
|
|
|
|
echo "a|b|c|d|e" | rofi \-sep \'|\' \-dmenu
|
|
.
|
|
.fi
|
|
.
|
|
.IP "" 0
|
|
.
|
|
.P
|
|
\fB\-p\fR \fIprompt\fR
|
|
.
|
|
.P
|
|
Specify the prompt to show in dmenu mode\. E\.g\. select monkey a,b,c,d or e\.
|
|
.
|
|
.IP "" 4
|
|
.
|
|
.nf
|
|
|
|
echo "a|b|c|d|e" | rofi \-sep \'|\' \-dmenu \-p "monkey:"
|
|
.
|
|
.fi
|
|
.
|
|
.IP "" 0
|
|
.
|
|
.P
|
|
Default: \fIdmenu\fR
|
|
.
|
|
.P
|
|
\fB\-selected\-row\fR \fIselected row\fR
|
|
.
|
|
.P
|
|
Select a certain row\.
|
|
.
|
|
.P
|
|
Default: \fI0\fR
|
|
.
|
|
.P
|
|
\fB\-l\fR \fInumber of lines to show\fR
|
|
.
|
|
.P
|
|
Maximum number of lines the menu may show before scrolling\.
|
|
.
|
|
.IP "" 4
|
|
.
|
|
.nf
|
|
|
|
rofi \-lines 25
|
|
.
|
|
.fi
|
|
.
|
|
.IP "" 0
|
|
.
|
|
.P
|
|
Default: \fI15\fR
|
|
.
|
|
.P
|
|
\fB\-i\fR
|
|
.
|
|
.P
|
|
Makes dmenu searches case\-insensitive
|
|
.
|
|
.P
|
|
\fB\-a\fR \fIX\fR
|
|
.
|
|
.P
|
|
Active row, mark row X as active\. (starting at 0) You can specify single element: \-a 3 A range: \-a 3\-8 or a set of rows: \-a 0,2 or any combination: \-a 0,2\-3,9
|
|
.
|
|
.P
|
|
\fB\-u\fR \fIX\fR
|
|
.
|
|
.P
|
|
Urgent row, mark row X as urgent\. (starting at 0) You can specify single element: \-u 3 A range: \-u 3\-8 or a set of rows: \-u 0,2 or any combination: \-u 0,2\-3,9
|
|
.
|
|
.P
|
|
\fB\-only\-match\fR
|
|
.
|
|
.P
|
|
Only return a selected item, do not allow custom entry\. This mode always returns an entry, or returns directly when no entries given\.
|
|
.
|
|
.P
|
|
\fB\-no\-custom\fR
|
|
.
|
|
.P
|
|
Only return a selected item, do not allow custom entry\. This mode returns directly when no entries given\.
|
|
.
|
|
.P
|
|
\fB\-format\fR \fIformat\fR
|
|
.
|
|
.P
|
|
Allows the output of dmenu to be customized (N is total number of input entries):
|
|
.
|
|
.IP "\(bu" 4
|
|
\'s\' selected string\.
|
|
.
|
|
.IP "\(bu" 4
|
|
\'i\' index (0 \- (N\-1))\.
|
|
.
|
|
.IP "\(bu" 4
|
|
\'d\' index (1 \- N)\.
|
|
.
|
|
.IP "\(bu" 4
|
|
\'q\' quote string\.
|
|
.
|
|
.IP "\(bu" 4
|
|
\'f\' filter string (user input)\.
|
|
.
|
|
.IP "\(bu" 4
|
|
\'F\' quoted filter string (user input)\.
|
|
.
|
|
.IP "" 0
|
|
.
|
|
.P
|
|
Default: \'s\'
|
|
.
|
|
.P
|
|
\fB\-select\fR \fIstring\fR
|
|
.
|
|
.P
|
|
Select first line that matches the given string
|
|
.
|
|
.P
|
|
\fB\-mesg\fR \fIstring\fR
|
|
.
|
|
.P
|
|
Add a message line below the filter entry box\. Supports pango markup\. For more information on supported markup see here \fIhttps://developer\.gnome\.org/pango/stable/PangoMarkupFormat\.html\fR
|
|
.
|
|
.P
|
|
\fB\-normal\-window\fR
|
|
.
|
|
.P
|
|
Make \fBrofi\fR react like a normal application window\. Useful for scripts like Clerk that are basically an application\.
|
|
.
|
|
.P
|
|
\fB\-dump\fR
|
|
.
|
|
.P
|
|
Dump the filtered list to stdout and quit\. This can be used to get the list as \fBrofi\fR would filter it\. Use together with \fB\-filter\fR command\.
|
|
.
|
|
.P
|
|
\fB\-input\fR \fIfile\fR
|
|
.
|
|
.P
|
|
Reads from \fIfile\fR instead of stdin\.
|
|
.
|
|
.P
|
|
\fB\-password\fR
|
|
.
|
|
.P
|
|
Hide the input text\. This should not be considered secure!
|
|
.
|
|
.P
|
|
\fB\-markup\-rows\fR
|
|
.
|
|
.P
|
|
Tell \fBrofi\fR that DMenu input is pango markup encoded and should be rendered\. See here \fIhttps://developer\.gnome\.org/pango/stable/PangoMarkupFormat\.html\fR for details about pango markup\.
|
|
.
|
|
.P
|
|
\fB\-multi\-select\fR
|
|
.
|
|
.P
|
|
Allow multiple lines to be selected\. Adds a small selection indicator to the left of each entry\.
|
|
.
|
|
.P
|
|
\fB\-sync\fR
|
|
.
|
|
.P
|
|
Force rofi mode to first read all data from stdin before showing selection window\. This is how original dmenu behaviour\.
|
|
.
|
|
.P
|
|
Note: the default asynchronous mode will also be automatically disabled if used with conflicting options such as \fB\-dump\fR, \fB\-only\-match\fR or \fB\-auto\-select\fR
|
|
.
|
|
.P
|
|
\fB\-async\-pre\-read\fR \fInumber\fR
|
|
.
|
|
.P
|
|
Reads the first 25 entries blocking\. Then switches to async mode\. This makes it feel more \'snappy\'\.
|
|
.
|
|
.P
|
|
\fIdefault\fR: 25
|
|
.
|
|
.SS "Message dialog"
|
|
\fB\-e\fR \fImessage\fR
|
|
.
|
|
.P
|
|
Popup a message dialog (used internally for showing errors) with \fImessage\fR\. Message can be multi\-line\.
|
|
.
|
|
.SS "Other"
|
|
\fB\-pid\fR \fIpath\fR
|
|
.
|
|
.P
|
|
Make \fBrofi\fR create a pid file and check this on startup\. Avoiding multiple copies running simultaneously\. This is useful when running \fBrofi\fR from a keybinding daemon\.
|
|
.
|
|
.P
|
|
\fB\-fake\-transparency\fR
|
|
.
|
|
.P
|
|
Enable fake transparency\. This only works with transparent background color in the theme\.
|
|
.
|
|
.P
|
|
\fB\-fake\-background\fR
|
|
.
|
|
.P
|
|
Select what to use as background for fake transparency\. This can be \'background\', \'screenshot\' or a path to an image file (currently only supports png)\.
|
|
.
|
|
.P
|
|
\fB\-display\-{mode}\fR \fIstring\fR
|
|
.
|
|
.P
|
|
Set the name to use for mode\. This is used as prompt and in combi\-browser\.
|
|
.
|
|
.P
|
|
\fB\-click\-to\-exit\fR \fB\-no\-click\-to\-exit\fR
|
|
.
|
|
.P
|
|
Click the mouse outside of the \fBrofi\fR window to exit\.
|
|
.
|
|
.P
|
|
Default: \fIenabled\fR
|
|
.
|
|
.SS "Debug"
|
|
\fB\-no\-config\fR
|
|
.
|
|
.P
|
|
Disable parsing of configuration\. This runs rofi in \fIstock\fR mode\.
|
|
.
|
|
.P
|
|
For more information on debugging see the wiki \fIhttps://github\.com/DaveDavenport/rofi/wiki/Debugging%20Rofi\fR
|
|
.
|
|
.SH "PATTERN"
|
|
To launch commands (e\.g\. when using the ssh launcher) the user can enter the used command\-line, the following keys can be used that will be replaced at runtime:
|
|
.
|
|
.IP "\(bu" 4
|
|
\fB{host}\fR: The host to connect to\.
|
|
.
|
|
.IP "\(bu" 4
|
|
\fB{terminal}\fR: The configured terminal (See \-terminal\-emulator)
|
|
.
|
|
.IP "\(bu" 4
|
|
\fB{ssh\-client}\fR: The configured ssh client (See \-ssh\-client)
|
|
.
|
|
.IP "\(bu" 4
|
|
\fB{cmd}\fR: The command to execute\.
|
|
.
|
|
.IP "\(bu" 4
|
|
\fB{window}\fR: The window id of the selected window\. (In \fBwindow\-command\fR)
|
|
.
|
|
.IP "" 0
|
|
.
|
|
.SH "DMENU REPLACEMENT"
|
|
If \fBargv[0]\fR (calling command) is dmenu, \fBrofi\fR will start in dmenu mode\. This way it can be used as a drop\-in replacement for dmenu\. just copy or symlink \fBrofi\fR to dmenu in \fB$PATH\fR\.
|
|
.
|
|
.IP "" 4
|
|
.
|
|
.nf
|
|
|
|
ln \-s /usr/bin/rofi /usr/bin/dmenu
|
|
.
|
|
.fi
|
|
.
|
|
.IP "" 0
|
|
.
|
|
.SH "THEMING"
|
|
The theme format below describes the old (pre version 1\.4) theme format\. Please see rofi\-theme(5) manpage for an updated manual\.
|
|
.
|
|
.P
|
|
The theme setup allows you to specify colors per state, similar to \fBi3\fR Currently 3 states exists:
|
|
.
|
|
.IP "\(bu" 4
|
|
\fBnormal\fR Normal row\.
|
|
.
|
|
.IP "\(bu" 4
|
|
\fBurgent\fR Highlighted row (urgent)
|
|
.
|
|
.IP "\(bu" 4
|
|
\fBactive\fR Highlighted row (active)
|
|
.
|
|
.IP "" 0
|
|
.
|
|
.P
|
|
For each state the following 5 colors must be set:
|
|
.
|
|
.IP "\(bu" 4
|
|
\fBbg\fR Background color row
|
|
.
|
|
.IP "\(bu" 4
|
|
\fBfg\fR Text color
|
|
.
|
|
.IP "\(bu" 4
|
|
\fBbgalt\fR Background color alternating row
|
|
.
|
|
.IP "\(bu" 4
|
|
\fBhlfg\fR Foreground color selected row
|
|
.
|
|
.IP "\(bu" 4
|
|
\fBhlbg\fR Background color selected row
|
|
.
|
|
.IP "" 0
|
|
.
|
|
.P
|
|
The window background and border color should be specified separate\. The key \fBcolor\-window\fR contains a pair \fBbackground,border,separator\fR\. An example for \fBXresources\fR file:
|
|
.
|
|
.IP "" 4
|
|
.
|
|
.nf
|
|
|
|
! State: \'bg\', \'fg\', \'bgalt\', \'hlbg\', \'hlfg\'
|
|
rofi\.color\-normal: #fdf6e3, #002b36, #eee8d5, #586e75, #eee8d5
|
|
rofi\.color\-urgent: #fdf6e3, #dc322f, #eee8d5, #dc322f, #fdf6e3
|
|
rofi\.color\-active: #fdf6e3, #268bd2, #eee8d5, #268bd2, #fdf6e3
|
|
|
|
! \'background\', \'border\', \'separator\'
|
|
rofi\.color\-window: #fdf6e3, #002b36, #002b36
|
|
.
|
|
.fi
|
|
.
|
|
.IP "" 0
|
|
.
|
|
.P
|
|
Same settings can also be specified on command\-line:
|
|
.
|
|
.IP "" 4
|
|
.
|
|
.nf
|
|
|
|
rofi \-color\-normal "#fdf6e3,#002b36,#eee8d5,#586e75,#eee8d5"
|
|
.
|
|
.fi
|
|
.
|
|
.IP "" 0
|
|
.
|
|
.SH "COLORS"
|
|
RGB colors can be specified by either its X11 name, or hexadecimal notation\. For example:
|
|
.
|
|
.IP "" 4
|
|
.
|
|
.nf
|
|
|
|
white
|
|
.
|
|
.fi
|
|
.
|
|
.IP "" 0
|
|
.
|
|
.P
|
|
Or
|
|
.
|
|
.IP "" 4
|
|
.
|
|
.nf
|
|
|
|
#FFFFFF
|
|
.
|
|
.fi
|
|
.
|
|
.IP "" 0
|
|
.
|
|
.P
|
|
ARGB colors are also support, these can be used to create a transparent window if: 1\. Your Xserver supports TrueColor, 2\. You are running a composite manager\.
|
|
.
|
|
.IP "" 4
|
|
.
|
|
.nf
|
|
|
|
argb:FF444444
|
|
.
|
|
.fi
|
|
.
|
|
.IP "" 0
|
|
.
|
|
.P
|
|
Or
|
|
.
|
|
.IP "" 4
|
|
.
|
|
.nf
|
|
|
|
#FF444444
|
|
.
|
|
.fi
|
|
.
|
|
.IP "" 0
|
|
.
|
|
.P
|
|
The first two fields specify the alpha level\. This determines the amount of transparency\. (00 everything, FF nothing)\. The other fields represent the actual color, in hex\.
|
|
.
|
|
.P
|
|
Within \fBrofi\fR transparency can be used, e\.g\. if the selected background color is 50% transparent, the background color of the window will be visible through it\.
|
|
.
|
|
.SH "KEYBINDINGS"
|
|
\fBrofi\fR has the following key\-bindings:
|
|
.
|
|
.IP "\(bu" 4
|
|
\fBCtrl\-v, Insert\fR: Paste clipboard
|
|
.
|
|
.IP "\(bu" 4
|
|
\fBCtrl\-Shift\-v, Shift\-Insert\fR: Paste primary selection
|
|
.
|
|
.IP "\(bu" 4
|
|
\fBCtrl\-u\fR: Clear the line
|
|
.
|
|
.IP "\(bu" 4
|
|
\fBCtrl\-a\fR: Beginning of line
|
|
.
|
|
.IP "\(bu" 4
|
|
\fBCtrl\-e\fR: End of line
|
|
.
|
|
.IP "\(bu" 4
|
|
\fBCtrl\-f, Right\fR: Forward one character
|
|
.
|
|
.IP "\(bu" 4
|
|
\fBAlt\-f\fR: Forward one word
|
|
.
|
|
.IP "\(bu" 4
|
|
\fBCtrl\-b, Left\fR: Back one character
|
|
.
|
|
.IP "\(bu" 4
|
|
\fBAlt\-b\fR: Back one word
|
|
.
|
|
.IP "\(bu" 4
|
|
\fBCtrl\-d, Delete\fR: Delete character
|
|
.
|
|
.IP "\(bu" 4
|
|
\fBCtrl\-Alt\-d\fR: Delete word
|
|
.
|
|
.IP "\(bu" 4
|
|
\fBCtrl\-h, Backspace\fR: Backspace (delete previous character)
|
|
.
|
|
.IP "\(bu" 4
|
|
\fBCtrl\-Alt\-h\fR: Delete previous word
|
|
.
|
|
.IP "\(bu" 4
|
|
\fBCtrl\-j,Ctrl\-m,Enter\fR: Accept entry
|
|
.
|
|
.IP "\(bu" 4
|
|
\fBCtrl\-n,Down\fR: Select next entry
|
|
.
|
|
.IP "\(bu" 4
|
|
\fBCtrl\-p,Up\fR: Select previous entry
|
|
.
|
|
.IP "\(bu" 4
|
|
\fBPage Up\fR: Go to the previous page
|
|
.
|
|
.IP "\(bu" 4
|
|
\fBPage Down\fR: Go to the next page
|
|
.
|
|
.IP "\(bu" 4
|
|
\fBCtrl\-Page Up\fR: Go to the previous column
|
|
.
|
|
.IP "\(bu" 4
|
|
\fBCtrl\-Page Down\fR: Go to the next column
|
|
.
|
|
.IP "\(bu" 4
|
|
\fBCtrl\-Enter\fR: Use entered text as command (in ssh/run modi)
|
|
.
|
|
.IP "\(bu" 4
|
|
\fBShift\-Enter\fR: Launch the application in a terminal (in run mode)
|
|
.
|
|
.IP "\(bu" 4
|
|
\fBShift\-Enter\fR: Return the selected entry and move to the next item while keeping Rofi open\. (in dmenu)
|
|
.
|
|
.IP "\(bu" 4
|
|
\fBShift\-Right\fR: Switch to the next modi\. The list can be customized with the \fB\-switchers\fR argument\.
|
|
.
|
|
.IP "\(bu" 4
|
|
\fBShift\-Left\fR: Switch to the previous modi\. The list can be customized with the \fB\-switchers\fR argument\.
|
|
.
|
|
.IP "\(bu" 4
|
|
\fBCtrl\-Tab\fR: Switch to the next modi\. The list can be customized with the \fB\-switchers\fR argument\.
|
|
.
|
|
.IP "\(bu" 4
|
|
\fBCtrl\-Shift\-Tab\fR: Switch to the previous modi\. The list can be customized with the \fB\-switchers\fR argument\.
|
|
.
|
|
.IP "\(bu" 4
|
|
\fBCtrl\-space\fR: Set selected item as input text\.
|
|
.
|
|
.IP "\(bu" 4
|
|
\fBShift\-Del\fR: Delete entry from history\.
|
|
.
|
|
.IP "\(bu" 4
|
|
\fBgrave\fR: Toggle case sensitivity\.
|
|
.
|
|
.IP "\(bu" 4
|
|
\fBAlt\-grave\fR: Toggle levenshtein sorting\.
|
|
.
|
|
.IP "\(bu" 4
|
|
\fBAlt\-Shift\-S\fR: Take a screenshot and store this in the Pictures directory\.
|
|
.
|
|
.IP "" 0
|
|
.
|
|
.P
|
|
To get a full list of keybindings on the commandline, see \fBrofi \-dump\-xresources | grep kb\-\fR\. Keybindings can be modified using the configuration systems\. To get searchable list of keybindings, run \fBrofi \-show keys\fR\.
|
|
.
|
|
.P
|
|
A keybinding starting with \fB!\fR will act when all keys have been released\.
|
|
.
|
|
.SH "Available Modi"
|
|
.
|
|
.SS "Window"
|
|
Show a list of all the windows and allow switching between them\. Pressing the \fBdelete\-entry\fR binding (\fBshift\-delete\fR) will close the window\. Pressing the \fBaccept\-custom\fR binding (\fBcontrol\-enter\fR or \fBshift\-enter\fR) will run a command on the window\. (See option \fBwindow\-command\fR );
|
|
.
|
|
.SS "WindowCD"
|
|
Shows a list of the windows on the current desktop and allows switching between them\. Pressing the \fBdelete\-entry\fR binding (\fBshift\-delete\fR) will kill the window\. Pressing the \fBaccept\-custom\fR binding (\fBcontrol\-enter\fR or \fBshift\-enter\fR) will run a command on the window\. (See option \fBwindow\-command\fR );
|
|
.
|
|
.SS "Run"
|
|
Shows a list of executables in \fB$PATH\fR and can launch them (optional in a terminal)\. Pressing the \fBdelete\-entry\fR binding (\fBshift\-delete\fR) will remove this entry from the run history\. Pressing the \fBaccept\-custom\fR binding (\fBcontrol\-enter\fR or \fBshift\-enter\fR) will run the command in a terminal\.
|
|
.
|
|
.SS "DRun"
|
|
Same as the \fBrun\fR launches, but the list is created from the installed desktop files\. It automatically launches them in a terminal if specified in the Desktop File\. Pressing the \fBdelete\-entry\fR binding (\fBshift\-delete\fR) will remove this entry from the run history\. Pressing the \fBaccept\-custom\fR binding (\fBcontrol\-enter\fR or \fBshift\-enter\fR) with custom input (no entry matching) will run the command in a terminal\.
|
|
.
|
|
.SS "SSH"
|
|
Shows a list of SSH targets based on your ssh config file, and allows to quickly ssh into them\.
|
|
.
|
|
.SS "Keys"
|
|
Shows a searchable list of key bindings\.
|
|
.
|
|
.SS "Script"
|
|
Allows custom scripted Modi to be added\.
|
|
.
|
|
.SH "FAQ"
|
|
.
|
|
.SS "The text in the window switcher is not nicely lined out\."
|
|
Try using a mono\-space font\.
|
|
.
|
|
.SS "The window is completely black\."
|
|
Check quotes used on the commandline: e\.g\. used “ instead of "\.
|
|
.
|
|
.SS "What does the icon in the top right show?"
|
|
The indicator shows:
|
|
.
|
|
.IP "" 4
|
|
.
|
|
.nf
|
|
|
|
` ` Case insensitive and no sorting\.
|
|
`\-` Case sensitivity enabled, no sorting\.
|
|
`+` Case insensitive and Sorting enabled
|
|
`±` Sorting and Case sensitivity enabled"
|
|
.
|
|
.fi
|
|
.
|
|
.IP "" 0
|
|
.
|
|
.SH "EXAMPLES"
|
|
Some basic usage examples of \fBrofi\fR:
|
|
.
|
|
.P
|
|
Show the run dialog:
|
|
.
|
|
.IP "" 4
|
|
.
|
|
.nf
|
|
|
|
rofi \-modi run \-show run
|
|
.
|
|
.fi
|
|
.
|
|
.IP "" 0
|
|
.
|
|
.P
|
|
Show the the run dialog and allow switching to Desktop File run dialog (drun):
|
|
.
|
|
.IP "" 4
|
|
.
|
|
.nf
|
|
|
|
rofi \-modi run,drun \-show run
|
|
.
|
|
.fi
|
|
.
|
|
.IP "" 0
|
|
.
|
|
.P
|
|
Combine the run and Desktop File run dialog (drun):
|
|
.
|
|
.IP "" 4
|
|
.
|
|
.nf
|
|
|
|
rofi \-modi combi \-show combi \-combi\-modi run,drun
|
|
.
|
|
.fi
|
|
.
|
|
.IP "" 0
|
|
.
|
|
.P
|
|
Combine the run and Desktop File run dialog (drun) and allow switching to window switcher:
|
|
.
|
|
.IP "" 4
|
|
.
|
|
.nf
|
|
|
|
rofi \-modi combi,window \-show combi \-combi\-modi run,drun
|
|
.
|
|
.fi
|
|
.
|
|
.IP "" 0
|
|
.
|
|
.P
|
|
Run \fBrofi\fR full monitor width at the top of the monitor like a dropdown menu:
|
|
.
|
|
.IP "" 4
|
|
.
|
|
.nf
|
|
|
|
rofi \-show run \-width 100 \-location 1 \-lines 5 \-bw 2 \-yoffset \-2
|
|
.
|
|
.fi
|
|
.
|
|
.IP "" 0
|
|
.
|
|
.P
|
|
Get a colored list of available wifi networks:
|
|
.
|
|
.IP "" 4
|
|
.
|
|
.nf
|
|
|
|
tty\-pipe nmcli device wifi | out2html \-p | rofi \-dmenu \-markup\-rows
|
|
.
|
|
.fi
|
|
.
|
|
.IP "" 0
|
|
.
|
|
.P
|
|
Popup a text message claiming that this is the end:
|
|
.
|
|
.IP "" 4
|
|
.
|
|
.nf
|
|
|
|
rofi \-e "This is the end"
|
|
.
|
|
.fi
|
|
.
|
|
.IP "" 0
|
|
.
|
|
.P
|
|
Popup a text message in red, bold font claiming that this is still the end:
|
|
.
|
|
.IP "" 4
|
|
.
|
|
.nf
|
|
|
|
rofi \-e "<span color=\'red\'><b>This is still the end</b></span>>" \-markup
|
|
.
|
|
.fi
|
|
.
|
|
.IP "" 0
|
|
.
|
|
.P
|
|
Show all keybindings:
|
|
.
|
|
.IP "" 4
|
|
.
|
|
.nf
|
|
|
|
rofi \-show keys
|
|
.
|
|
.fi
|
|
.
|
|
.IP "" 0
|
|
.
|
|
.P
|
|
Use \fBqalc\fR to get a simple calculator in \fBrofi\fR:
|
|
.
|
|
.IP "" 4
|
|
.
|
|
.nf
|
|
|
|
rofi \-show calc \-modi "calc:qalc +u8 \-nocurrencies"
|
|
.
|
|
.fi
|
|
.
|
|
.IP "" 0
|
|
.
|
|
.SH "I3"
|
|
In I3 \fIhttp://i3wm\.org/\fR you want to bind rofi to be launched on key\-release\. Otherwise it cannot grab the keyboard\. See also the I3 manual \fIhttp://i3wm\.org/docs/userguide\.html\fR:
|
|
.
|
|
.P
|
|
Some tools (such as import or xdotool) might be unable to run upon a KeyPress event, because the keyboard/pointer is still grabbed\. For these situations, the \-\-release flag can be used, which will execute the command after the keys have been released\.
|
|
.
|
|
.SH "LICENSE"
|
|
.
|
|
.nf
|
|
|
|
MIT/X11
|
|
|
|
Permission is hereby granted, free of charge, to any person obtaining
|
|
a copy of this software and associated documentation files (the
|
|
"Software"), to deal in the Software without restriction, including
|
|
without limitation the rights to use, copy, modify, merge, publish,
|
|
distribute, sublicense, and/or sell copies of the Software, and to
|
|
permit persons to whom the Software is furnished to do so, subject to
|
|
the following conditions:
|
|
|
|
The above copyright notice and this permission notice shall be
|
|
included in all copies or substantial portions of the Software\.
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
|
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT\.
|
|
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE\.
|
|
.
|
|
.fi
|
|
.
|
|
.SH "WEBSITE"
|
|
\fBrofi\fR website can be found at here \fIhttps://davedavenport\.github\.io/rofi/\fR
|
|
.
|
|
.SH "SUPPORT"
|
|
\fBrofi\fR support can be obtained here \fIirc://irc\.freenode\.net/#rofi\fR (#rofi on irc\.freenode\.net), or via the forum \fIhttps://reddit\.com/r/qtools//\fR
|
|
.
|
|
.SH "DEBUGGING"
|
|
Please see this \fIhttps://github\.com/DaveDavenport/rofi/wiki/Debugging%20Rofi\fR wiki entry\.
|
|
.
|
|
.SH "ISSUE TRACKER"
|
|
\fBrofi\fR issue tracker can be found here \fIhttps://github\.com/DaveDavenport/rofi/issues\fR
|
|
.
|
|
.P
|
|
When creating an issue, please read this \fIhttps://github\.com/DaveDavenport/rofi/blob/master/\.github/CONTRIBUTING\.md\fR first\.
|
|
.
|
|
.SH "SEE ALSO"
|
|
rofi\-sensible\-terminal(1), dmenu(1), rofi\-theme(5)
|
|
.
|
|
.SH "AUTHOR"
|
|
Qball Cow \fIqball@gmpclient\.org\fR
|
|
.
|
|
.P
|
|
Rasmus Steinke \fIrasi@xssn\.at\fR
|
|
.
|
|
.P
|
|
Quentin Glidic \fIsardemff7+rofi@sardemff7\.net\fR
|
|
.
|
|
.P
|
|
Original code based on work by: Sean Pringle \fIsean\.pringle@gmail\.com\fR
|
|
.
|
|
.P
|
|
For a full list of authors, check the AUTHORS file\.
|