2022-10-22 05:03:11 -04:00
|
|
|
.nh
|
2020-01-26 09:48:17 -05:00
|
|
|
.TH ROFI 1 rofi
|
|
|
|
.SH NAME
|
|
|
|
.PP
|
2023-03-26 20:01:28 -04:00
|
|
|
\fBrofi\fP - A window switcher, application launcher, ssh dialog, dmenu
|
|
|
|
replacement and more
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.SH SYNOPSIS
|
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fBrofi\fP [ -show \fImode\fP ]|[ -dmenu ]|[ -e \fImsg\fP ] [ CONFIGURATION ]
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.SH DESCRIPTION
|
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fBrofi\fP is an X11 pop-up window switcher, run dialog, dmenu replacement, and
|
2022-07-31 10:28:05 -04:00
|
|
|
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.
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.SH USAGE
|
|
|
|
.PP
|
2022-04-14 14:45:37 -04:00
|
|
|
\fBrofi\fP\&'s main functionality is to assist in your workflow, allowing you to
|
|
|
|
quickly switch between windows, start applications or log into a remote machine
|
|
|
|
via \fB\fCssh\fR\&. There are different \fImodes\fP for different types of actions. \fBrofi\fP
|
|
|
|
is a standalone application and should not be integrated into scripts. For
|
2022-10-22 05:03:11 -04:00
|
|
|
integration into scripts it has a special mode that functions as a (drop-in)
|
2022-04-14 14:45:37 -04:00
|
|
|
replacement for \fBdmenu(1)\fP\&. See emulating dmenu below.
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.SS Running rofi
|
|
|
|
.PP
|
2023-03-26 20:01:28 -04:00
|
|
|
To launch \fBrofi\fP directly in a certain mode, specify a mode with \fB\fCrofi -show
|
|
|
|
<mode>\fR\&. To show the \fB\fCdrun\fR dialog:
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
|
|
|
.RS
|
|
|
|
|
|
|
|
.nf
|
2022-10-22 05:03:11 -04:00
|
|
|
rofi -show drun
|
2020-01-26 09:48:17 -05:00
|
|
|
|
2015-04-05 15:49:55 -04:00
|
|
|
.fi
|
2020-01-26 09:48:17 -05:00
|
|
|
.RE
|
|
|
|
|
2022-04-14 14:45:37 -04:00
|
|
|
.PP
|
2023-01-10 18:20:57 -05:00
|
|
|
A useful setup in minimalistic window managers is to combine \fB\fCdrun\fR, \fB\fCrun\fR
|
2022-04-14 14:45:37 -04:00
|
|
|
with \fB\fCwindow\fR mode:
|
|
|
|
|
|
|
|
.PP
|
|
|
|
.RS
|
|
|
|
|
|
|
|
.nf
|
2022-10-22 05:03:11 -04:00
|
|
|
rofi -show combi -modes combi -combi-modes "window,drun,run"
|
2022-04-14 14:45:37 -04:00
|
|
|
|
|
|
|
.fi
|
|
|
|
.RE
|
|
|
|
|
|
|
|
.PP
|
|
|
|
In this setup it first list all open applications, then all installed
|
|
|
|
applications. So if you type firefox and hit return, it will switch to the
|
|
|
|
running firefox, or launch it when it is not running.
|
|
|
|
|
2020-01-26 09:48:17 -05:00
|
|
|
.SS Emulating dmenu
|
|
|
|
.PP
|
2022-07-31 10:28:05 -04:00
|
|
|
\fBrofi\fP can emulate \fBdmenu(1)\fP (a dynamic menu for X11) when launched with
|
2022-10-22 05:03:11 -04:00
|
|
|
the \fB\fC-dmenu\fR flag.
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
For more information see \fBrofi-dmenu(5)\fP\&.
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.SS Display Error message
|
|
|
|
.PP
|
|
|
|
\fBrofi\fP error dialog can also be called from the command line.
|
|
|
|
|
|
|
|
.PP
|
|
|
|
.RS
|
|
|
|
|
|
|
|
.nf
|
2023-03-26 20:01:28 -04:00
|
|
|
rofi -e "my message"
|
2020-01-26 09:48:17 -05:00
|
|
|
|
2017-07-22 15:11:46 -04:00
|
|
|
.fi
|
2020-01-26 09:48:17 -05:00
|
|
|
.RE
|
|
|
|
|
|
|
|
.PP
|
|
|
|
Markup support can be enabled, see CONFIGURATION options.
|
|
|
|
|
|
|
|
.SH CONFIGURATION
|
|
|
|
.PP
|
2023-03-26 20:01:28 -04:00
|
|
|
There are currently three methods of setting configuration options (evaluated
|
|
|
|
in order below):
|
2021-06-15 14:10:04 -04:00
|
|
|
|
|
|
|
.RS
|
2020-01-26 09:48:17 -05:00
|
|
|
.IP \(bu 2
|
2023-03-26 20:01:28 -04:00
|
|
|
System configuration file (for example \fB\fC/etc/rofi.rasi\fR). It first checks
|
|
|
|
\fB\fCXDG_CONFIG_DIRS\fR, and then \fB\fCSYSCONFDIR\fR (that is passed at compile time).
|
|
|
|
It loads the first config file it finds, it does not merge multiple system
|
|
|
|
configuration files.
|
2020-01-26 09:48:17 -05:00
|
|
|
.IP \(bu 2
|
2023-03-26 20:01:28 -04:00
|
|
|
Rasi theme file: The new \fItheme\fP format can be used to set configuration
|
|
|
|
values.
|
2020-01-26 09:48:17 -05:00
|
|
|
.IP \(bu 2
|
2022-10-22 05:03:11 -04:00
|
|
|
Command-line options: Arguments passed to \fBrofi\fP\&.
|
2020-01-26 09:48:17 -05:00
|
|
|
|
2021-06-15 14:10:04 -04:00
|
|
|
.RE
|
|
|
|
|
2020-01-26 09:48:17 -05:00
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
To get a template config file, run: \fB\fCrofi -dump-config > config.rasi\fR
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
2023-03-26 20:01:28 -04:00
|
|
|
This will contain (commented) all current configuration options, modified
|
|
|
|
options are uncommented.
|
2020-01-26 09:48:17 -05:00
|
|
|
|
2022-03-31 11:24:50 -04:00
|
|
|
.PP
|
2023-03-26 20:01:28 -04:00
|
|
|
To get a template config file that sets the icon-theme run: \fB\fCrofi -icon-theme
|
|
|
|
hicolor -dump-config\fR\&.
|
2022-03-31 11:24:50 -04:00
|
|
|
|
|
|
|
.PP
|
2023-03-26 20:01:28 -04:00
|
|
|
It is \fBstrongly\fP recommended to use this as a starting point for your
|
|
|
|
configuration.
|
2022-03-31 11:24:50 -04:00
|
|
|
|
|
|
|
.PP
|
|
|
|
An empty configuration section in the config file looks like:
|
|
|
|
|
|
|
|
.PP
|
|
|
|
.RS
|
|
|
|
|
|
|
|
.nf
|
|
|
|
configuration {
|
|
|
|
// set config options here
|
|
|
|
}
|
|
|
|
|
|
|
|
.fi
|
|
|
|
.RE
|
|
|
|
|
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
Most of the configuration options mentioned below (beside options like \fB\fC-show\fR,
|
|
|
|
\fB\fC-dump-config\fR that apply to a single run) can be set here.
|
2022-03-31 11:24:50 -04:00
|
|
|
|
|
|
|
.PP
|
|
|
|
For example to set the dpi value to 72:
|
|
|
|
|
|
|
|
.PP
|
|
|
|
.RS
|
|
|
|
|
|
|
|
.nf
|
|
|
|
configuration {
|
|
|
|
dpi: 72;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fi
|
|
|
|
.RE
|
|
|
|
|
2020-01-26 09:48:17 -05:00
|
|
|
.PP
|
2015-04-21 16:17:20 -04:00
|
|
|
The configuration system supports the following types:
|
2021-06-15 14:10:04 -04:00
|
|
|
|
|
|
|
.RS
|
2020-01-26 09:48:17 -05:00
|
|
|
.IP \(bu 2
|
2017-08-13 14:31:46 -04:00
|
|
|
string
|
2020-01-26 09:48:17 -05:00
|
|
|
.IP \(bu 2
|
2017-08-13 14:31:46 -04:00
|
|
|
integer (signed and unsigned)
|
2020-01-26 09:48:17 -05:00
|
|
|
.IP \(bu 2
|
2017-08-13 14:31:46 -04:00
|
|
|
char
|
2020-01-26 09:48:17 -05:00
|
|
|
.IP \(bu 2
|
2021-06-07 17:13:21 -04:00
|
|
|
boolean
|
2021-05-04 14:08:54 -04:00
|
|
|
.IP \(bu 2
|
|
|
|
lists
|
2019-09-20 09:01:34 -04:00
|
|
|
|
2021-06-15 14:10:04 -04:00
|
|
|
.RE
|
|
|
|
|
2020-01-26 09:48:17 -05:00
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
For the syntax of these options, see the \fBrofi-theme(5)\fP manpage.
|
2021-06-01 04:32:58 -04:00
|
|
|
|
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
For use on the command line, Boolean options have a non-default command-line
|
2021-06-01 04:32:58 -04:00
|
|
|
syntax. Example to enable option X:
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
|
|
|
.RS
|
|
|
|
|
|
|
|
.nf
|
2023-03-26 20:01:28 -04:00
|
|
|
-X
|
2020-01-26 09:48:17 -05:00
|
|
|
|
2015-04-25 11:40:01 -04:00
|
|
|
.fi
|
2020-01-26 09:48:17 -05:00
|
|
|
.RE
|
|
|
|
|
|
|
|
.PP
|
2016-12-14 03:26:12 -05:00
|
|
|
To disable option X:
|
2019-09-20 09:01:34 -04:00
|
|
|
|
2020-01-26 09:48:17 -05:00
|
|
|
.PP
|
|
|
|
.RS
|
|
|
|
|
|
|
|
.nf
|
2023-03-26 20:01:28 -04:00
|
|
|
-no-X
|
2020-01-26 09:48:17 -05:00
|
|
|
|
2015-04-25 11:40:01 -04:00
|
|
|
.fi
|
2020-01-26 09:48:17 -05:00
|
|
|
.RE
|
|
|
|
|
|
|
|
.PP
|
2015-04-21 16:17:20 -04:00
|
|
|
Below is a list of the most important options:
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.SS General
|
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC-help\fR
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
The help option shows the full list of command-line options and the current set
|
|
|
|
values. These include dynamic (run-time generated) options.
|
2020-01-26 09:48:17 -05:00
|
|
|
|
2020-05-10 09:44:29 -04:00
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC-version\fR
|
2020-05-10 09:44:29 -04:00
|
|
|
|
|
|
|
.PP
|
|
|
|
Show the \fBrofi\fP version and exit.
|
|
|
|
|
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC-dump-config\fR
|
2020-05-10 09:44:29 -04:00
|
|
|
|
|
|
|
.PP
|
|
|
|
Dump the current active configuration, in rasi format, to stdout and exit.
|
2022-10-22 05:03:11 -04:00
|
|
|
Information about the rasi format can be found in the \fBrofi-theme(5)\fP manpage.
|
2020-05-10 09:44:29 -04:00
|
|
|
|
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC-dump-theme\fR
|
2020-05-10 09:44:29 -04:00
|
|
|
|
|
|
|
.PP
|
|
|
|
Dump the current active theme, in rasi format, to stdout and exit.
|
|
|
|
|
2021-01-26 11:27:32 -05:00
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC-rasi-validate\fR \fIfilename\fP
|
2021-01-26 11:27:32 -05:00
|
|
|
|
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
Try to parse the file and return 0 when successful, non-zero when failed.
|
2021-01-26 11:27:32 -05:00
|
|
|
|
2022-09-18 14:28:38 -04:00
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC-list-keybindings\fR
|
2022-09-18 14:28:38 -04:00
|
|
|
|
|
|
|
.PP
|
|
|
|
List all known keybindings without trying to parse them. This can be used to
|
|
|
|
look for duplicate bindings.
|
|
|
|
|
2020-01-26 09:48:17 -05:00
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC-threads\fR \fInum\fP
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
|
|
|
Specify the number of threads \fBrofi\fP should use:
|
2021-06-15 14:10:04 -04:00
|
|
|
|
|
|
|
.RS
|
2020-01-26 09:48:17 -05:00
|
|
|
.IP \(bu 2
|
|
|
|
0: Autodetect the number of supported hardware threads.
|
|
|
|
.IP \(bu 2
|
2015-11-25 10:53:58 -05:00
|
|
|
1: Disable threading
|
2020-01-26 09:48:17 -05:00
|
|
|
.IP \(bu 2
|
2023-03-26 20:01:28 -04:00
|
|
|
2..n: Specify the maximum number of threads to use in the thread pool.
|
2020-01-26 09:48:17 -05:00
|
|
|
|
2021-06-15 14:10:04 -04:00
|
|
|
.RE
|
|
|
|
|
2023-03-26 20:01:28 -04:00
|
|
|
.PP
|
|
|
|
Default: Autodetect
|
|
|
|
|
2020-05-10 09:44:29 -04:00
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC-display\fR \fIdisplay\fP
|
2020-05-10 09:44:29 -04:00
|
|
|
|
|
|
|
.PP
|
|
|
|
The X server to contact. Default is \fB\fC$DISPLAY\fR\&.
|
|
|
|
|
2020-01-26 09:48:17 -05:00
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC-dmenu\fR
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
|
|
|
Run \fBrofi\fP in dmenu mode. This allows for interactive scripts.
|
|
|
|
In \fB\fCdmenu\fR mode, \fBrofi\fP reads from STDIN, and output to STDOUT.
|
2022-10-22 05:03:11 -04:00
|
|
|
A simple example, displaying three pre-defined options:
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
|
|
|
.RS
|
|
|
|
|
2015-04-07 21:50:57 -04:00
|
|
|
.nf
|
2023-03-26 20:01:28 -04:00
|
|
|
echo -e "Option #1\\nOption #2\\nOption #3" | rofi -dmenu
|
2019-09-20 09:01:34 -04:00
|
|
|
|
2015-04-07 21:50:57 -04:00
|
|
|
.fi
|
2020-01-26 09:48:17 -05:00
|
|
|
.RE
|
|
|
|
|
|
|
|
.PP
|
2015-04-07 21:50:57 -04:00
|
|
|
Or get the options from a script:
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
|
|
|
.RS
|
|
|
|
|
2015-06-02 13:01:25 -04:00
|
|
|
.nf
|
2023-03-26 20:01:28 -04:00
|
|
|
~/my_script.sh | rofi -dmenu
|
2019-09-20 09:01:34 -04:00
|
|
|
|
2015-06-02 13:01:25 -04:00
|
|
|
.fi
|
2020-01-26 09:48:17 -05:00
|
|
|
.RE
|
|
|
|
|
2022-02-13 06:22:25 -05:00
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
See the \fBrofi-dmenu(5)\fP manpage for more information.
|
2022-02-13 06:22:25 -05:00
|
|
|
|
2020-01-26 09:48:17 -05:00
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC-show\fR \fImode\fP
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
2022-07-31 10:28:05 -04:00
|
|
|
Open \fBrofi\fP in a certain mode. Available modes are \fB\fCwindow\fR, \fB\fCrun\fR, \fB\fCdrun\fR,
|
|
|
|
\fB\fCssh\fR, \fB\fCcombi\fR\&. The special argument \fB\fCkeys\fR can be used to open a searchable
|
|
|
|
list of supported key bindings
|
2022-10-22 05:03:11 -04:00
|
|
|
(see the \fBrofi-keys(5)\fP manpage)
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
To show the run-dialog:
|
2019-09-20 09:01:34 -04:00
|
|
|
|
2020-01-26 09:48:17 -05:00
|
|
|
.PP
|
|
|
|
.RS
|
|
|
|
|
|
|
|
.nf
|
2023-03-26 20:01:28 -04:00
|
|
|
rofi -show run
|
2020-01-26 09:48:17 -05:00
|
|
|
|
2014-10-20 14:29:26 -04:00
|
|
|
.fi
|
2020-01-26 09:48:17 -05:00
|
|
|
.RE
|
|
|
|
|
2021-06-08 16:02:29 -04:00
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
If \fB\fC-show\fR is the last option passed to rofi, the first enabled modes is shown.
|
2021-06-08 16:02:29 -04:00
|
|
|
|
2020-01-26 09:48:17 -05:00
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC-modes\fR \fImode1,mode2\fP
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
Specify an ordered, comma-separated list of modes to enable.
|
2020-05-10 09:44:29 -04:00
|
|
|
Enabled modes can be changed at runtime. Default key is \fB\fCCtrl+Tab\fR\&.
|
|
|
|
If no modes are specified, all configured modes will be enabled.
|
|
|
|
To only show the \fB\fCrun\fR and \fB\fCssh\fR launcher:
|
2019-09-20 09:01:34 -04:00
|
|
|
|
2020-01-26 09:48:17 -05:00
|
|
|
.PP
|
|
|
|
.RS
|
|
|
|
|
|
|
|
.nf
|
2023-03-26 20:01:28 -04:00
|
|
|
rofi -modes "run,ssh" -show run
|
2020-01-26 09:48:17 -05:00
|
|
|
|
2014-10-20 14:29:26 -04:00
|
|
|
.fi
|
2020-01-26 09:48:17 -05:00
|
|
|
.RE
|
2019-09-20 09:01:34 -04:00
|
|
|
|
2020-01-26 09:48:17 -05:00
|
|
|
.PP
|
2022-07-31 10:28:05 -04:00
|
|
|
Custom modes can be added using the internal \fB\fCscript\fR mode. Each such mode has
|
|
|
|
two parameters:
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
|
|
|
.RS
|
|
|
|
|
|
|
|
.nf
|
2019-06-16 13:47:04 -04:00
|
|
|
<name>:<script>
|
2020-01-26 09:48:17 -05:00
|
|
|
|
2015-06-02 13:01:25 -04:00
|
|
|
.fi
|
2020-01-26 09:48:17 -05:00
|
|
|
.RE
|
|
|
|
|
|
|
|
.PP
|
2023-03-26 20:01:28 -04:00
|
|
|
Example: Have a mode called 'Workspaces' using the \fB\fCi3_switch_workspaces.sh\fR
|
|
|
|
script:
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
|
|
|
.RS
|
|
|
|
|
2015-06-02 13:01:25 -04:00
|
|
|
.nf
|
2023-03-26 20:01:28 -04:00
|
|
|
rofi -modes "window,run,ssh,Workspaces:i3_switch_workspaces.sh" -show Workspaces
|
2019-09-20 09:01:34 -04:00
|
|
|
|
2014-10-20 14:29:26 -04:00
|
|
|
.fi
|
2020-01-26 09:48:17 -05:00
|
|
|
.RE
|
|
|
|
|
|
|
|
.PP
|
2022-07-31 10:28:05 -04:00
|
|
|
Notes: The i3 window manager dislikes commas in the command when specifying an
|
|
|
|
exec command. For that case, \fB\fC#\fR can be used as a separator.
|
2020-01-26 09:48:17 -05:00
|
|
|
|
2021-06-08 16:02:29 -04:00
|
|
|
.PP
|
|
|
|
\fBTIP\fP: The name is allowed to contain spaces:
|
|
|
|
|
|
|
|
.PP
|
|
|
|
.RS
|
|
|
|
|
|
|
|
.nf
|
2023-03-26 20:01:28 -04:00
|
|
|
rofi -modes "My File Browser:fb.sh" -show "My File Browser"
|
2021-06-08 16:02:29 -04:00
|
|
|
|
|
|
|
.fi
|
|
|
|
.RE
|
|
|
|
|
2020-01-26 09:48:17 -05:00
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC-case-sensitive\fR
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
2023-03-26 20:01:28 -04:00
|
|
|
Start in case-sensitive mode. This option can be changed at run-time using the
|
|
|
|
\fB\fC-kb-toggle-case-sensitivity\fR key binding.
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC-cycle\fR
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
|
|
|
Cycle through the result list. Default is 'true'.
|
|
|
|
|
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC-filter\fR \fIfilter\fP
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
|
|
|
Filter the list by setting text in input bar to \fIfilter\fP
|
2019-09-20 09:01:34 -04:00
|
|
|
|
2020-01-26 09:48:17 -05:00
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC-config\fR \fIfilename\fP
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
|
|
|
Load an alternative configuration file.
|
|
|
|
|
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC-cache-dir\fR \fIfilename\fP
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
|
|
|
Directory that is used to place temporary files, like history.
|
|
|
|
|
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC-scroll-method\fR \fImethod\fP
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
|
|
|
Select the scrolling method. 0: Per page, 1: continuous.
|
|
|
|
|
2020-09-30 15:56:37 -04:00
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC-normalize-match\fR
|
2020-09-30 15:56:37 -04:00
|
|
|
|
|
|
|
.PP
|
2023-03-26 20:01:28 -04:00
|
|
|
Normalize the string before matching, so \fB\fCo\fR will match \fB\fCö\fR, and \fB\fCé\fR matches
|
|
|
|
\fB\fCe\fR\&. This is not a perfect implementation, but works. For now, it disables
|
|
|
|
highlighting of the matched part.
|
2020-09-30 15:56:37 -04:00
|
|
|
|
2020-01-26 09:48:17 -05:00
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC-no-lazy-grab\fR
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
|
|
|
Disables lazy grab, this forces the keyboard being grabbed before gui is shown.
|
|
|
|
|
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC-no-plugins\fR
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
|
|
|
Disable plugin loading.
|
|
|
|
|
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC-plugin-path\fR \fIdirectory\fP
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
|
|
|
Specify the directory where \fBrofi\fP should look for plugins.
|
|
|
|
|
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC-show-icons\fR
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
2020-05-10 09:44:29 -04:00
|
|
|
Show application icons in \fB\fCdrun\fR and \fB\fCwindow\fR modes.
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC-icon-theme\fR
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
2023-03-26 20:01:28 -04:00
|
|
|
Specify icon theme to be used. If not specified default theme from DE is used,
|
|
|
|
\fIAdwaita\fP and \fIgnome\fP themes act as fallback themes.
|
2020-01-26 09:48:17 -05:00
|
|
|
|
2020-05-10 09:44:29 -04:00
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC-markup\fR
|
2020-05-10 09:44:29 -04:00
|
|
|
|
|
|
|
.PP
|
|
|
|
Use Pango markup to format output wherever possible.
|
|
|
|
|
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC-normal-window\fR
|
2020-05-10 09:44:29 -04:00
|
|
|
|
|
|
|
.PP
|
2023-03-26 20:01:28 -04:00
|
|
|
Make \fBrofi\fP react like a normal application window. Useful for scripts like
|
|
|
|
Clerk that are basically an application.
|
2020-05-10 09:44:29 -04:00
|
|
|
|
2021-03-27 11:28:27 -04:00
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC-[no-]steal-focus\fR
|
2021-03-27 11:28:27 -04:00
|
|
|
|
|
|
|
.PP
|
2023-03-26 20:01:28 -04:00
|
|
|
Make rofi steal focus on launch and restore close to window that held it when
|
|
|
|
launched.
|
2021-03-27 11:28:27 -04:00
|
|
|
|
2022-04-20 15:53:44 -04:00
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC-refilter-timeout-limit\fR
|
2022-04-20 15:53:44 -04:00
|
|
|
|
|
|
|
.PP
|
2023-03-26 20:01:28 -04:00
|
|
|
The time (in ms) boundary filter may take before switch from instant to delayed
|
|
|
|
filter mode.
|
2022-04-20 15:53:44 -04:00
|
|
|
|
|
|
|
.PP
|
2022-08-21 09:47:49 -04:00
|
|
|
Default: 300
|
2022-04-20 15:53:44 -04:00
|
|
|
|
2022-05-12 13:52:35 -04:00
|
|
|
.PP
|
|
|
|
A fallback icon can be specified for each mode:
|
|
|
|
|
|
|
|
.PP
|
|
|
|
.RS
|
|
|
|
|
|
|
|
.nf
|
|
|
|
configuration {
|
|
|
|
<mode>{
|
2022-10-22 05:03:11 -04:00
|
|
|
fallback-icon: "<icon name>";
|
2022-05-12 13:52:35 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.fi
|
|
|
|
.RE
|
|
|
|
|
|
|
|
.PP
|
|
|
|
Example
|
|
|
|
|
|
|
|
.PP
|
|
|
|
.RS
|
|
|
|
|
|
|
|
.nf
|
|
|
|
configuration {
|
|
|
|
run,drun {
|
2022-10-22 05:03:11 -04:00
|
|
|
fallback-icon: "application-x-addon";
|
2022-05-12 13:52:35 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.fi
|
|
|
|
.RE
|
|
|
|
|
2020-01-26 09:48:17 -05:00
|
|
|
.SS Matching
|
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC-matching\fR \fImethod\fP
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
|
|
|
Specify the matching algorithm used.
|
2021-08-26 16:43:11 -04:00
|
|
|
Currently, the following methods are supported:
|
2021-06-15 14:10:04 -04:00
|
|
|
|
|
|
|
.RS
|
2020-01-26 09:48:17 -05:00
|
|
|
.IP \(bu 2
|
|
|
|
\fBnormal\fP: match the int string
|
|
|
|
.IP \(bu 2
|
|
|
|
\fBregex\fP: match a regex input
|
|
|
|
.IP \(bu 2
|
|
|
|
\fBglob\fP: match a glob pattern
|
|
|
|
.IP \(bu 2
|
|
|
|
\fBfuzzy\fP: do a fuzzy match
|
2021-05-29 07:39:31 -04:00
|
|
|
.IP \(bu 2
|
|
|
|
\fBprefix\fP: match prefix
|
2020-01-26 09:48:17 -05:00
|
|
|
|
2021-06-15 14:10:04 -04:00
|
|
|
.RE
|
|
|
|
|
2020-01-26 09:48:17 -05:00
|
|
|
.PP
|
|
|
|
Default: \fInormal\fP
|
|
|
|
|
|
|
|
.PP
|
2017-01-09 14:32:31 -05:00
|
|
|
Note: glob matching might be slow for larger lists
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC-tokenize\fR
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
|
|
|
Tokenize the input.
|
|
|
|
|
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC-drun-categories\fR \fIcategory1\fP,\fIcategory2\fP
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
|
|
|
Only show desktop files that are present in the listed categories.
|
|
|
|
|
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC-drun-match-fields\fR \fIfield1\fP,\fIfield2\fP,...
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
2020-05-10 09:44:29 -04:00
|
|
|
When using \fB\fCdrun\fR, match only with the specified Desktop entry fields.
|
2020-01-26 09:48:17 -05:00
|
|
|
The different fields are:
|
2021-06-15 14:10:04 -04:00
|
|
|
|
|
|
|
.RS
|
2020-01-26 09:48:17 -05:00
|
|
|
.IP \(bu 2
|
|
|
|
\fBname\fP: the application's name
|
|
|
|
.IP \(bu 2
|
|
|
|
\fBgeneric\fP: the application's generic name
|
|
|
|
.IP \(bu 2
|
|
|
|
\fBexec\fP: the application's executable
|
|
|
|
.IP \(bu 2
|
|
|
|
\fBcategories\fP: the application's categories
|
|
|
|
.IP \(bu 2
|
|
|
|
\fBcomment\fP: the application comment
|
|
|
|
.IP \(bu 2
|
2023-03-26 20:01:28 -04:00
|
|
|
\fBall\fP: all the above
|
2020-01-26 09:48:17 -05:00
|
|
|
|
2021-06-15 14:10:04 -04:00
|
|
|
.RE
|
|
|
|
|
2023-03-26 20:01:28 -04:00
|
|
|
.PP
|
|
|
|
Default: \fIname,generic,exec,categories,keywords\fP
|
|
|
|
|
2020-01-26 09:48:17 -05:00
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC-drun-display-format\fR
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
2020-05-10 09:44:29 -04:00
|
|
|
The format string for the \fB\fCdrun\fR dialog:
|
2021-06-15 14:10:04 -04:00
|
|
|
|
|
|
|
.RS
|
2020-01-26 09:48:17 -05:00
|
|
|
.IP \(bu 2
|
|
|
|
\fBname\fP: the application's name
|
|
|
|
.IP \(bu 2
|
|
|
|
\fBgeneric\fP: the application's generic name
|
|
|
|
.IP \(bu 2
|
|
|
|
\fBexec\fP: the application's executable
|
|
|
|
.IP \(bu 2
|
|
|
|
\fBcategories\fP: the application's categories
|
|
|
|
.IP \(bu 2
|
|
|
|
\fBcomment\fP: the application comment
|
|
|
|
|
2021-06-15 14:10:04 -04:00
|
|
|
.RE
|
|
|
|
|
2020-01-26 09:48:17 -05:00
|
|
|
.PP
|
|
|
|
Pango markup can be used to formatting the output.
|
|
|
|
|
|
|
|
.PP
|
2023-03-26 20:01:28 -04:00
|
|
|
Default: {name} [({generic})]
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
2023-03-26 20:01:28 -04:00
|
|
|
Note: Only fields enabled in \fB\fC-drun-match-fields\fR can be used in the format
|
|
|
|
string.
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC-[no-]drun-show-actions\fR
|
2019-09-20 09:01:34 -04:00
|
|
|
|
2020-01-26 09:48:17 -05:00
|
|
|
.PP
|
|
|
|
Show actions present in the Desktop files.
|
|
|
|
|
|
|
|
.PP
|
2019-06-16 13:47:04 -04:00
|
|
|
Default: false
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC-window-match-fields\fR \fIfield1\fP,\fIfield2\fP,...
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
|
|
|
When using window mode, match only with the specified fields.
|
|
|
|
The different fields are:
|
2021-06-15 14:10:04 -04:00
|
|
|
|
|
|
|
.RS
|
2020-01-26 09:48:17 -05:00
|
|
|
.IP \(bu 2
|
|
|
|
\fBtitle\fP: window's title
|
|
|
|
.IP \(bu 2
|
|
|
|
\fBclass\fP: window's class
|
|
|
|
.IP \(bu 2
|
|
|
|
\fBrole\fP: window's role
|
|
|
|
.IP \(bu 2
|
|
|
|
\fBname\fP: window's name
|
|
|
|
.IP \(bu 2
|
|
|
|
\fBdesktop\fP: window's current desktop
|
|
|
|
.IP \(bu 2
|
2023-03-26 20:01:28 -04:00
|
|
|
\fBall\fP: all the above
|
2020-01-26 09:48:17 -05:00
|
|
|
|
2021-06-15 14:10:04 -04:00
|
|
|
.RE
|
|
|
|
|
2020-01-26 09:48:17 -05:00
|
|
|
.PP
|
2023-03-26 20:01:28 -04:00
|
|
|
Default: \fIall\fP
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
2023-03-26 20:01:28 -04:00
|
|
|
\fB\fC-matching-negate-char\fR \fIchar\fP
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
2023-03-26 20:01:28 -04:00
|
|
|
Set the character used to negate the query (i.e. if it does \fBnot\fP match the
|
|
|
|
next keyword). Set to '\\x0' to disable.
|
2020-01-26 09:48:17 -05:00
|
|
|
|
2023-03-26 20:01:28 -04:00
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
Default: '-'
|
2019-09-20 09:01:34 -04:00
|
|
|
|
2021-06-09 16:21:39 -04:00
|
|
|
.SS Layout and Theming
|
2021-06-08 16:58:27 -04:00
|
|
|
.PP
|
2023-03-26 20:01:28 -04:00
|
|
|
\fBIMPORTANT:\fP In newer \fBrofi\fP releases, all the theming options have been
|
|
|
|
moved into the new theme format. They are no longer normal \fBrofi\fP options
|
|
|
|
that can be passed directly on the command line (there are too many). Small
|
|
|
|
snippets can be passed on the command line: \fB\fCrofi -theme-str 'window {width:
|
|
|
|
50%;}'\fR to override a single setting. They are merged into the current theme.
|
|
|
|
They can also be appended at the end of the \fBrofi\fP config file to override
|
|
|
|
parts of the theme.
|
2021-06-08 16:58:27 -04:00
|
|
|
|
2020-01-26 09:48:17 -05:00
|
|
|
.PP
|
2023-03-26 20:01:28 -04:00
|
|
|
Most of the following options are \fBdeprecated\fP and should not be used. Please
|
|
|
|
use the new theme format to customize \fBrofi\fP\&. More information about the new
|
|
|
|
format can be found in the \fBrofi-theme(5)\fP manpage.
|
2019-09-20 09:01:34 -04:00
|
|
|
|
2020-01-26 09:48:17 -05:00
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC-location\fR
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
2023-03-26 20:01:28 -04:00
|
|
|
Specify where the window should be located. The numbers map to the following
|
|
|
|
locations on screen:
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
|
|
|
.RS
|
|
|
|
|
|
|
|
.nf
|
2023-03-26 20:01:28 -04:00
|
|
|
1 2 3
|
|
|
|
8 0 4
|
|
|
|
7 6 5
|
2020-01-26 09:48:17 -05:00
|
|
|
|
2014-05-22 04:37:25 -04:00
|
|
|
.fi
|
2020-01-26 09:48:17 -05:00
|
|
|
.RE
|
|
|
|
|
|
|
|
.PP
|
|
|
|
Default: \fI0\fP
|
|
|
|
|
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC-fixed-num-lines\fR
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
2021-08-30 10:11:36 -04:00
|
|
|
Keep a fixed number of visible lines.
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC-sidebar-mode\fR
|
2019-09-20 09:01:34 -04:00
|
|
|
|
2020-01-26 09:48:17 -05:00
|
|
|
.PP
|
2023-03-26 20:01:28 -04:00
|
|
|
Open in sidebar-mode. In this mode, a list of all enabled modes is shown at the
|
|
|
|
bottom (See \fB\fC-modes\fR option). To show sidebar, use:
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
|
|
|
.RS
|
|
|
|
|
|
|
|
.nf
|
2023-03-26 20:01:28 -04:00
|
|
|
rofi -show run -sidebar-mode
|
2020-01-26 09:48:17 -05:00
|
|
|
|
2015-06-02 13:01:25 -04:00
|
|
|
.fi
|
2020-01-26 09:48:17 -05:00
|
|
|
.RE
|
|
|
|
|
2021-05-02 14:01:03 -04:00
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC-hover-select\fR
|
2021-05-02 14:01:03 -04:00
|
|
|
|
2021-04-13 05:45:20 -04:00
|
|
|
.PP
|
2023-03-26 20:01:28 -04:00
|
|
|
Automatically select the entry the mouse is hovering over. This option is best
|
|
|
|
combined with custom mouse bindings. To utilize hover-select and accept an
|
|
|
|
entry in a single click, use:
|
2021-04-13 05:45:20 -04:00
|
|
|
|
|
|
|
.PP
|
|
|
|
.RS
|
|
|
|
|
|
|
|
.nf
|
2023-03-26 20:01:28 -04:00
|
|
|
rofi -show run -hover-select -me-select-entry '' -me-accept-entry MousePrimary
|
2021-04-13 05:45:20 -04:00
|
|
|
|
|
|
|
.fi
|
|
|
|
.RE
|
|
|
|
|
2020-04-01 07:58:01 -04:00
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC-eh\fR \fInumber\fP
|
2020-04-01 07:58:01 -04:00
|
|
|
|
|
|
|
.PP
|
|
|
|
Set row height (in chars)
|
|
|
|
Default: \fI1\fP
|
|
|
|
|
2020-01-26 09:48:17 -05:00
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC-auto-select\fR
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
|
|
|
When one entry is left, automatically select it.
|
|
|
|
|
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC-m\fR \fInum\fP
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC-m\fR \fIname\fP
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC-monitor\fR \fInum\fP
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC-monitor\fR \fIname\fP
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
2023-03-26 20:01:28 -04:00
|
|
|
Select monitor to display \fBrofi\fP on. It accepts as input: \fIprimary\fP (if
|
|
|
|
primary output is set), the \fIxrandr\fP output name, or integer number (in order
|
|
|
|
of detection). Negative numbers are handled differently:
|
2021-06-15 14:10:04 -04:00
|
|
|
|
|
|
|
.RS
|
2020-01-26 09:48:17 -05:00
|
|
|
.IP \(bu 2
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB-1\fP: the currently focused monitor.
|
2020-01-26 09:48:17 -05:00
|
|
|
.IP \(bu 2
|
2023-03-26 20:01:28 -04:00
|
|
|
\fB-2\fP: the currently focused window (that is, \fBrofi\fP will be displayed
|
|
|
|
on top of the focused window).
|
2020-01-26 09:48:17 -05:00
|
|
|
.IP \(bu 2
|
2023-03-26 20:01:28 -04:00
|
|
|
\fB-3\fP: Position of mouse (overrides the location setting to get normal
|
|
|
|
context menu behavior.)
|
2020-01-26 09:48:17 -05:00
|
|
|
.IP \(bu 2
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB-4\fP: the monitor with the focused window.
|
2020-01-26 09:48:17 -05:00
|
|
|
.IP \(bu 2
|
2023-03-26 20:01:28 -04:00
|
|
|
\fB-5\fP: the monitor that shows the mouse pointer.
|
2020-01-26 09:48:17 -05:00
|
|
|
|
2021-06-15 14:10:04 -04:00
|
|
|
.RE
|
|
|
|
|
2023-03-26 20:01:28 -04:00
|
|
|
.PP
|
|
|
|
Default: \fI-5\fP
|
|
|
|
|
2020-01-26 09:48:17 -05:00
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
See \fB\fCrofi -h\fR output for the detected monitors, their position, and size.
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC-theme\fR \fIfilename\fP
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
|
|
|
Path to the new theme file format. This overrides the old theme settings.
|
|
|
|
|
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC-theme-str\fR \fIstring\fP
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
|
|
|
Allow theme parts to be specified on the command line as an override.
|
|
|
|
|
|
|
|
.PP
|
2017-08-13 14:31:46 -04:00
|
|
|
For example:
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
|
|
|
.RS
|
|
|
|
|
2017-01-18 12:12:54 -05:00
|
|
|
.nf
|
2023-03-26 20:01:28 -04:00
|
|
|
rofi -theme-str '#window { fullscreen: true; }'
|
2019-09-20 09:01:34 -04:00
|
|
|
|
2017-01-18 12:12:54 -05:00
|
|
|
.fi
|
2020-01-26 09:48:17 -05:00
|
|
|
.RE
|
2019-09-20 09:01:34 -04:00
|
|
|
|
2020-01-26 09:48:17 -05:00
|
|
|
.PP
|
|
|
|
This option can be specified multiple times.
|
2021-08-26 16:43:11 -04:00
|
|
|
This is now the method to tweak the theme via the command line.
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC-dpi\fR \fInumber\fP
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
|
|
|
Override the default DPI setting.
|
2021-06-15 14:10:04 -04:00
|
|
|
|
|
|
|
.RS
|
2020-05-10 09:44:29 -04:00
|
|
|
.IP \(bu 2
|
2023-03-26 20:01:28 -04:00
|
|
|
If set to \fB\fC0\fR, it tries to auto-detect based on X11 screen size (similar to
|
|
|
|
i3 and GTK).
|
2020-05-10 09:44:29 -04:00
|
|
|
.IP \(bu 2
|
2023-03-26 20:01:28 -04:00
|
|
|
If set to \fB\fC1\fR, it tries to auto-detect based on the size of the monitor
|
|
|
|
that \fBrofi\fP is displayed on (similar to latest Qt 5).
|
2020-05-10 09:44:29 -04:00
|
|
|
|
2021-06-15 14:10:04 -04:00
|
|
|
.RE
|
|
|
|
|
2020-03-29 06:58:28 -04:00
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC-selected-row\fR \fIselected row\fP
|
2020-03-29 06:58:28 -04:00
|
|
|
|
|
|
|
.PP
|
|
|
|
Select a certain row.
|
|
|
|
|
|
|
|
.PP
|
|
|
|
Default: \fI0\fP
|
|
|
|
|
2020-01-26 09:48:17 -05:00
|
|
|
.SS PATTERN setting
|
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC-terminal\fR
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
|
|
|
Specify which terminal to start.
|
|
|
|
|
|
|
|
.PP
|
|
|
|
.RS
|
|
|
|
|
|
|
|
.nf
|
2023-03-26 20:01:28 -04:00
|
|
|
rofi -terminal xterm
|
2020-01-26 09:48:17 -05:00
|
|
|
|
2015-06-02 13:01:25 -04:00
|
|
|
.fi
|
2020-01-26 09:48:17 -05:00
|
|
|
.RE
|
|
|
|
|
|
|
|
.PP
|
|
|
|
Pattern: \fI{terminal}\fP
|
2020-05-10 09:44:29 -04:00
|
|
|
|
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
Default: \fIx-terminal-emulator\fP
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC-ssh-client\fR \fIclient\fP
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
2020-05-10 09:44:29 -04:00
|
|
|
Override the used \fB\fCssh\fR client.
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
Pattern: \fI{ssh-client}\fP
|
2020-05-10 09:44:29 -04:00
|
|
|
|
|
|
|
.PP
|
2020-01-26 09:48:17 -05:00
|
|
|
Default: \fIssh\fP
|
|
|
|
|
|
|
|
.SS SSH settings
|
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC-ssh-command\fR \fIcmd\fP
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
2021-08-26 16:43:11 -04:00
|
|
|
Set the command to execute when starting an ssh session.
|
2020-01-26 09:48:17 -05:00
|
|
|
The pattern \fI{host}\fP is replaced by the selected ssh entry.
|
|
|
|
|
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
Pattern: \fI{ssh-client}\fP
|
2020-05-10 09:44:29 -04:00
|
|
|
|
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
Default: \fI{terminal} -e {ssh-client} {host}\fP
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC-parse-hosts\fR
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
|
|
|
Parse the \fB\fC/etc/hosts\fR file for entries.
|
|
|
|
|
|
|
|
.PP
|
|
|
|
Default: \fIdisabled\fP
|
|
|
|
|
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC-parse-known-hosts\fR
|
|
|
|
\fB\fC-no-parse-known-hosts\fR
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
Parse the \fB\fC~/.ssh/known_hosts\fR file for entries.
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
|
|
|
Default: \fIenabled\fP
|
2019-09-20 09:01:34 -04:00
|
|
|
|
2020-01-26 09:48:17 -05:00
|
|
|
.SS Run settings
|
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC-run-command\fR \fIcmd\fP
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
|
|
|
Set command (\fI{cmd}\fP) to execute when running an application.
|
|
|
|
See \fIPATTERN\fP\&.
|
|
|
|
|
|
|
|
.PP
|
|
|
|
Default: \fI{cmd}\fP
|
|
|
|
|
2022-11-21 11:20:11 -05:00
|
|
|
.PP
|
2023-03-26 20:01:28 -04:00
|
|
|
Example to run applications in a dedicated cgroup with systemd. Requires a
|
|
|
|
shell to escape and interpolate the unit name correctly.
|
2022-11-21 11:20:11 -05:00
|
|
|
|
|
|
|
.PP
|
|
|
|
.RS
|
|
|
|
|
|
|
|
.nf
|
|
|
|
"bash -c 'systemd-run --user --unit=app-rofi-\\$(systemd-escape {cmd})-\\$RANDOM {cmd}'"
|
|
|
|
|
|
|
|
.fi
|
|
|
|
.RE
|
|
|
|
|
2020-01-26 09:48:17 -05:00
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC-run-shell-command\fR \fIcmd\fP
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
|
|
|
Set command to execute when running an application in a shell.
|
|
|
|
See \fIPATTERN\fP\&.
|
|
|
|
|
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
Default: \fI{terminal} -e {cmd}\fP
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC-run-list-command\fR \fIcmd\fP
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
2023-03-26 20:01:28 -04:00
|
|
|
If set, use an external tool to generate a list of executable commands. Uses
|
|
|
|
\fB\fCrun-command\fR\&.
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
|
|
|
Default: \fI{cmd}\fP
|
|
|
|
|
|
|
|
.SS Window switcher settings
|
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC-window-format\fR \fIformat\fP
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
|
|
|
Format what is being displayed for windows.
|
|
|
|
|
|
|
|
.PP
|
|
|
|
\fIformat\fP: {field[:len]}
|
|
|
|
|
|
|
|
.PP
|
|
|
|
\fIfield\fP:
|
2021-06-15 14:10:04 -04:00
|
|
|
|
|
|
|
.RS
|
2020-01-26 09:48:17 -05:00
|
|
|
.IP \(bu 2
|
|
|
|
\fBw\fP: desktop name
|
|
|
|
.IP \(bu 2
|
|
|
|
\fBt\fP: title of window
|
|
|
|
.IP \(bu 2
|
|
|
|
\fBn\fP: name
|
|
|
|
.IP \(bu 2
|
|
|
|
\fBr\fP: role
|
|
|
|
.IP \(bu 2
|
|
|
|
\fBc\fP: class
|
|
|
|
|
2021-06-15 14:10:04 -04:00
|
|
|
.RE
|
|
|
|
|
2020-01-26 09:48:17 -05:00
|
|
|
.PP
|
2023-03-26 20:01:28 -04:00
|
|
|
\fIlen\fP: maximum field length (0 for auto-size). If length is negative, the entry
|
|
|
|
will be unchanged. If length is positive, the entry will be truncated or padded
|
|
|
|
to fill that length.
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
|
|
|
default: {w} {c} {t}
|
|
|
|
|
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC-window-command\fR \fIcmd\fP
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
Set command to execute on selected window for an alt action (\fB\fC-kb-accept-alt\fR).
|
2020-01-26 09:48:17 -05:00
|
|
|
See \fIPATTERN\fP\&.
|
|
|
|
|
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
Default: \fI"wmctrl -i -R {window}"\fP
|
2020-01-26 09:48:17 -05:00
|
|
|
|
2020-04-29 06:59:49 -04:00
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC-window-thumbnail\fR
|
2020-04-29 06:59:49 -04:00
|
|
|
|
|
|
|
.PP
|
|
|
|
Show window thumbnail (if available) as icon in the window switcher.
|
|
|
|
|
2021-08-17 12:16:25 -04:00
|
|
|
.PP
|
2023-03-26 20:01:28 -04:00
|
|
|
You can stop rofi from exiting when closing a window (allowing multiple to be
|
|
|
|
closed in a row).
|
2021-08-17 12:16:25 -04:00
|
|
|
|
|
|
|
.PP
|
|
|
|
.RS
|
|
|
|
|
|
|
|
.nf
|
|
|
|
configuration {
|
|
|
|
window {
|
2022-10-22 05:03:11 -04:00
|
|
|
close-on-delete: false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.fi
|
|
|
|
.RE
|
|
|
|
|
|
|
|
.PP
|
|
|
|
You can hide the currently active window with the 'hide-active-window' setting:
|
|
|
|
|
|
|
|
.PP
|
|
|
|
.RS
|
|
|
|
|
|
|
|
.nf
|
|
|
|
configuration {
|
|
|
|
window {
|
|
|
|
hide-active-window: true;
|
2021-08-17 12:16:25 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.fi
|
|
|
|
.RE
|
|
|
|
|
2022-07-23 18:52:13 -04:00
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
or pass \fB\fC-window-hide-active-window true\fR on command line.
|
|
|
|
|
|
|
|
.PP
|
2023-03-26 20:01:28 -04:00
|
|
|
You can prefer the icon theme above the window set icon with the
|
|
|
|
'prefer-icon-theme' setting:
|
2022-07-23 18:52:13 -04:00
|
|
|
|
|
|
|
.PP
|
|
|
|
.RS
|
|
|
|
|
|
|
|
.nf
|
|
|
|
configuration {
|
|
|
|
window {
|
2022-10-22 05:03:11 -04:00
|
|
|
prefer-icon-theme: true;
|
2022-07-23 18:52:13 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.fi
|
|
|
|
.RE
|
|
|
|
|
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
or pass \fB\fC-window-prefer-icon-theme true\fR on command line.
|
2022-07-23 18:52:13 -04:00
|
|
|
|
2020-01-26 09:48:17 -05:00
|
|
|
.SS Combi settings
|
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC-combi-modes\fR \fImode1\fP,\fImode2\fP
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
2022-02-23 16:42:56 -05:00
|
|
|
The modes to combine in combi mode.
|
2022-10-22 05:03:11 -04:00
|
|
|
For syntax to \fB\fC-combi-modes\fR, see \fB\fC-modes\fR\&.
|
2020-01-26 09:48:17 -05:00
|
|
|
To get one merge view, of \fB\fCwindow\fR,\fB\fCrun\fR, and \fB\fCssh\fR:
|
|
|
|
|
|
|
|
.PP
|
|
|
|
.RS
|
|
|
|
|
|
|
|
.nf
|
2023-03-26 20:01:28 -04:00
|
|
|
rofi -show combi -combi-modes "window,run,ssh" -modes combi
|
2020-01-26 09:48:17 -05:00
|
|
|
|
2015-04-01 08:49:27 -04:00
|
|
|
.fi
|
2020-01-26 09:48:17 -05:00
|
|
|
.RE
|
|
|
|
|
|
|
|
.PP
|
2023-03-26 20:01:28 -04:00
|
|
|
\fBNOTE\fP: The i3 window manager dislikes commas in the command when specifying
|
|
|
|
an exec command. For that case, \fB\fC#\fR can be used as a separator.
|
2020-01-26 09:48:17 -05:00
|
|
|
|
2022-01-25 03:57:59 -05:00
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC-combi-display-format\fR
|
2022-01-25 03:57:59 -05:00
|
|
|
|
|
|
|
.PP
|
|
|
|
The format string for entries in the \fB\fCcombi\fR dialog:
|
|
|
|
|
|
|
|
.RS
|
|
|
|
.IP \(bu 2
|
|
|
|
\fBmode\fP: the mode display name
|
|
|
|
.IP \(bu 2
|
|
|
|
\fBtext\fP: the entry text
|
|
|
|
|
|
|
|
.RE
|
|
|
|
|
|
|
|
.PP
|
|
|
|
Pango markup can be used to formatting the output.
|
|
|
|
|
|
|
|
.PP
|
|
|
|
Default: {mode} {text}
|
|
|
|
|
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
Note: This setting is ignored if \fB\fCcombi-hide-mode-prefix\fR is enabled.
|
2022-01-25 03:57:59 -05:00
|
|
|
|
2020-01-26 09:48:17 -05:00
|
|
|
.SS History and Sorting
|
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC-disable-history\fR
|
|
|
|
\fB\fC-no-disable-history\fR (re-enable history)
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
2014-06-05 15:55:47 -04:00
|
|
|
Disable history
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC-sort\fR to enable
|
|
|
|
\fB\fC-no-sort\fR to disable
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
|
|
|
Enable, disable sorting.
|
2022-10-22 05:03:11 -04:00
|
|
|
This setting can be changed at runtime (see \fB\fC-kb-toggle-sort\fR).
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC-sorting-method\fR 'method' to specify the sorting method.
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
2021-08-26 16:43:11 -04:00
|
|
|
There are 2 sorting methods:
|
2021-06-15 14:10:04 -04:00
|
|
|
|
|
|
|
.RS
|
2020-01-26 09:48:17 -05:00
|
|
|
.IP \(bu 2
|
2018-06-13 05:57:23 -04:00
|
|
|
levenshtein (Default)
|
2020-01-26 09:48:17 -05:00
|
|
|
.IP \(bu 2
|
|
|
|
fzf sorting.
|
|
|
|
|
2021-06-15 14:10:04 -04:00
|
|
|
.RE
|
|
|
|
|
2021-02-01 15:34:49 -05:00
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC-max-history-size\fR \fInumber\fP
|
2021-02-01 15:34:49 -05:00
|
|
|
|
|
|
|
.PP
|
2023-03-26 20:01:28 -04:00
|
|
|
Maximum number of entries to store in history. Defaults to 25. (WARNING: can
|
|
|
|
cause slowdowns when set too high)
|
2021-02-01 15:34:49 -05:00
|
|
|
|
2020-01-26 09:48:17 -05:00
|
|
|
.SS Message dialog
|
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC-e\fR \fImessage\fP
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
|
|
|
Pops up a message dialog (used internally for showing errors) with \fImessage\fP\&.
|
2022-10-22 05:03:11 -04:00
|
|
|
Message can be multi-line.
|
2020-01-26 09:48:17 -05:00
|
|
|
|
2021-06-05 08:22:48 -04:00
|
|
|
.SS File browser settings
|
|
|
|
.PP
|
2021-06-27 03:28:21 -04:00
|
|
|
File browser behavior can be controlled via the following options:
|
2021-06-05 08:22:48 -04:00
|
|
|
|
|
|
|
.PP
|
2021-06-27 03:28:21 -04:00
|
|
|
.RS
|
|
|
|
|
|
|
|
.nf
|
|
|
|
configuration {
|
|
|
|
filebrowser {
|
|
|
|
/** Directory the file browser starts in. */
|
|
|
|
directory: "/some/directory";
|
|
|
|
/**
|
|
|
|
* Sorting method. Can be set to:
|
2022-10-22 05:03:11 -04:00
|
|
|
* - "name"
|
|
|
|
* - "mtime" (modification time)
|
|
|
|
* - "atime" (access time)
|
|
|
|
* - "ctime" (change time)
|
2021-06-27 03:28:21 -04:00
|
|
|
*/
|
2022-10-22 05:03:11 -04:00
|
|
|
sorting-method: "name";
|
2021-07-10 17:58:27 -04:00
|
|
|
/** Group directories before files. */
|
2022-10-22 05:03:11 -04:00
|
|
|
directories-first: true;
|
2022-10-11 10:04:18 -04:00
|
|
|
/** Show hidden files. */
|
2022-10-22 05:03:11 -04:00
|
|
|
show-hidden: false;
|
2023-01-06 05:54:43 -05:00
|
|
|
/** return 1 on cancel. */
|
|
|
|
cancel-returns-1: true;
|
2023-01-10 18:20:57 -05:00
|
|
|
/** command */
|
|
|
|
command: "xdg-open";
|
2021-06-27 03:28:21 -04:00
|
|
|
}
|
|
|
|
}
|
2021-06-05 08:22:48 -04:00
|
|
|
|
2021-06-30 08:12:09 -04:00
|
|
|
.fi
|
|
|
|
.RE
|
|
|
|
|
2023-01-06 05:54:43 -05:00
|
|
|
.PP
|
|
|
|
These options can also be passed on the commandline, for example:
|
|
|
|
|
|
|
|
.PP
|
|
|
|
.RS
|
|
|
|
|
|
|
|
.nf
|
|
|
|
rofi -filebrowser-cancel-returns-1 true -show filebrowser
|
|
|
|
|
|
|
|
.fi
|
|
|
|
.RE
|
|
|
|
|
2022-10-31 16:28:17 -04:00
|
|
|
.PP
|
|
|
|
The \fB\fCshow-hidden\fR can also be triggered with the \fB\fCkb-delete-entry\fR keybinding.
|
|
|
|
|
2023-06-12 13:07:00 -04:00
|
|
|
.SS Recursive Browser settings
|
|
|
|
.PP
|
|
|
|
Recursive file browser behavior can be controlled via the following options:
|
|
|
|
|
|
|
|
.PP
|
|
|
|
.RS
|
|
|
|
|
|
|
|
.nf
|
|
|
|
configuration {
|
|
|
|
recursivebrowser {
|
|
|
|
/** Directory the file browser starts in. */
|
|
|
|
directory: "/some/directory";
|
|
|
|
/** return 1 on cancel. */
|
|
|
|
cancel-returns-1: true;
|
|
|
|
/** filter entries using regex */
|
|
|
|
filter-regex: "(.*cache.*|.*\\.o)";
|
|
|
|
/** command */
|
|
|
|
command: "xdg-open";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.fi
|
|
|
|
.RE
|
|
|
|
|
2023-01-22 11:25:17 -05:00
|
|
|
.SS Entry history
|
|
|
|
.PP
|
|
|
|
The number of previous inputs for the entry box can be modified by setting
|
|
|
|
max-history on the entry box.
|
|
|
|
|
|
|
|
.PP
|
|
|
|
.RS
|
|
|
|
|
|
|
|
.nf
|
|
|
|
configuration {
|
|
|
|
entry {
|
|
|
|
max-history: 30;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.fi
|
|
|
|
.RE
|
|
|
|
|
|
|
|
.PP
|
|
|
|
By default the file is stored in the systems cache directory, in a file called
|
|
|
|
\fB\fCrofi-entry-history.txt\fR\&.
|
|
|
|
|
2020-01-26 09:48:17 -05:00
|
|
|
.SS Other
|
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC-drun-use-desktop-cache\fR
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
2023-03-26 20:01:28 -04:00
|
|
|
Build and use a cache with the content of desktop files. Usable for systems
|
|
|
|
with slow hard drives.
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC-drun-reload-desktop-cache\fR
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
2023-03-26 20:01:28 -04:00
|
|
|
If \fB\fCdrun-use-desktop-cache\fR is enabled, rebuild a cache with the content of
|
|
|
|
desktop files.
|
2020-01-26 09:48:17 -05:00
|
|
|
|
2021-06-08 14:25:05 -04:00
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC-drun-url-launcher\fR \fIcommand\fP
|
2021-06-08 14:25:05 -04:00
|
|
|
|
|
|
|
.PP
|
|
|
|
Command to open a Desktop Entry that is a Link.
|
|
|
|
|
2020-01-26 09:48:17 -05:00
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC-pid\fR \fIpath\fP
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
2023-03-26 20:01:28 -04:00
|
|
|
Make \fBrofi\fP create a pid file and check this on startup. The pid file
|
|
|
|
prevents multiple \fBrofi\fP instances from running simultaneously. This is
|
|
|
|
useful when running \fBrofi\fP from a key-binding daemon.
|
2020-01-26 09:48:17 -05:00
|
|
|
|
2021-12-22 15:03:54 -05:00
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC-replace\fR
|
2021-12-22 15:03:54 -05:00
|
|
|
|
|
|
|
.PP
|
|
|
|
If rofi is already running, based on pid file, try to kill that instance.
|
|
|
|
|
2020-01-26 09:48:17 -05:00
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC-display-{mode}\fR \fIstring\fP
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
Set the name to use for mode. This is used as prompt and in combi-browser.
|
2020-01-26 09:48:17 -05:00
|
|
|
|
2021-06-15 08:04:34 -04:00
|
|
|
.PP
|
2021-08-14 07:03:16 -04:00
|
|
|
It is now preferred to use the configuration file:
|
2021-06-15 08:04:34 -04:00
|
|
|
|
|
|
|
.PP
|
|
|
|
.RS
|
|
|
|
|
|
|
|
.nf
|
|
|
|
configuration {
|
|
|
|
{mode} {
|
2022-10-22 05:03:11 -04:00
|
|
|
display-name: *string*;
|
2021-06-15 08:04:34 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.fi
|
|
|
|
.RE
|
|
|
|
|
2020-01-26 09:48:17 -05:00
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC-click-to-exit\fR
|
|
|
|
\fB\fC-no-click-to-exit\fR
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
2021-08-26 16:43:11 -04:00
|
|
|
Click the mouse outside the \fBrofi\fP window to exit.
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
|
|
|
Default: \fIenabled\fP
|
|
|
|
|
2022-07-19 09:44:29 -04:00
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC-xserver-i300-workaround\fR
|
2022-07-19 09:44:29 -04:00
|
|
|
|
|
|
|
.PP
|
2023-03-26 20:01:28 -04:00
|
|
|
Workaround for bug in Xserver. See issue #611 and #1642 on the rofi issue
|
|
|
|
tracker.
|
2022-07-19 09:44:29 -04:00
|
|
|
|
|
|
|
.PP
|
|
|
|
Default: \fIdisabled\fP
|
|
|
|
|
2020-01-26 09:48:17 -05:00
|
|
|
.SH PATTERN
|
|
|
|
.PP
|
2023-03-26 20:01:28 -04:00
|
|
|
To launch commands (for example, 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:
|
2021-06-15 14:10:04 -04:00
|
|
|
|
|
|
|
.RS
|
2020-01-26 09:48:17 -05:00
|
|
|
.IP \(bu 2
|
|
|
|
\fB\fC{host}\fR: the host to connect to
|
|
|
|
.IP \(bu 2
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC{terminal}\fR: the configured terminal (see -terminal)
|
2020-01-26 09:48:17 -05:00
|
|
|
.IP \(bu 2
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC{ssh-client}\fR: the configured ssh client (see -ssh-client)
|
2020-01-26 09:48:17 -05:00
|
|
|
.IP \(bu 2
|
|
|
|
\fB\fC{cmd}\fR: the command to execute
|
|
|
|
.IP \(bu 2
|
2022-10-22 05:03:11 -04:00
|
|
|
\fB\fC{window}\fR: the window ID of the selected window (in \fB\fCwindow-command\fR)
|
2020-01-26 09:48:17 -05:00
|
|
|
|
2021-06-15 14:10:04 -04:00
|
|
|
.RE
|
|
|
|
|
2020-01-26 09:48:17 -05:00
|
|
|
.SH THEMING
|
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
Please see \fBrofi-theme(5)\fP manpage for more information on theming.
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.SH KEY BINDINGS
|
|
|
|
.PP
|
2023-03-26 20:01:28 -04:00
|
|
|
Please see the \fBrofi-keys(5)\fP manpage for the keybindings and how to set them
|
|
|
|
up.
|
2021-08-27 09:33:35 -04:00
|
|
|
|
|
|
|
.PP
|
2022-02-13 06:22:25 -05:00
|
|
|
The keybinding can also be used for actions, when the action is executed the
|
|
|
|
mentioned keystroke is inserted:
|
2021-09-02 03:55:31 -04:00
|
|
|
|
|
|
|
.SS Timeout
|
|
|
|
.PP
|
|
|
|
You can configure an action to be taken when rofi has not been interacted
|
|
|
|
with for a certain amount of seconds. You can specify a keybinding to trigger
|
|
|
|
after X seconds.
|
|
|
|
|
|
|
|
.PP
|
|
|
|
.RS
|
|
|
|
|
|
|
|
.nf
|
|
|
|
configuration {
|
|
|
|
timeout {
|
|
|
|
delay: 15;
|
2022-10-22 05:03:11 -04:00
|
|
|
action: "kb-cancel";
|
2021-09-02 03:55:31 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.fi
|
|
|
|
.RE
|
|
|
|
|
|
|
|
.SS Input change
|
|
|
|
.PP
|
|
|
|
When the input of the textbox changes:
|
|
|
|
|
|
|
|
.PP
|
|
|
|
.RS
|
|
|
|
|
|
|
|
.nf
|
|
|
|
configuration {
|
|
|
|
inputchange {
|
2022-10-22 05:03:11 -04:00
|
|
|
action: "kb-row-first";
|
2021-09-02 03:55:31 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.fi
|
|
|
|
.RE
|
|
|
|
|
2022-02-23 16:42:56 -05:00
|
|
|
.SH Available Modes
|
2020-05-10 09:44:29 -04:00
|
|
|
.SS window
|
2020-01-26 09:48:17 -05:00
|
|
|
.PP
|
2023-03-26 20:01:28 -04:00
|
|
|
Show a list of all the windows and allow switching between them. Pressing the
|
|
|
|
\fB\fCdelete-entry\fR binding (\fB\fCshift-delete\fR) will close the window. Pressing the
|
|
|
|
\fB\fCaccept-custom\fR binding (\fB\fCcontrol-enter\fR or \fB\fCshift-enter\fR) will run a command
|
|
|
|
on the window. (See option \fB\fCwindow-command\fR );
|
2020-01-26 09:48:17 -05:00
|
|
|
|
2021-06-07 17:13:21 -04:00
|
|
|
.PP
|
|
|
|
If there is no match, it will try to launch the input.
|
|
|
|
|
2020-05-10 09:44:29 -04:00
|
|
|
.SS windowcd
|
2020-01-26 09:48:17 -05:00
|
|
|
.PP
|
2023-03-26 20:01:28 -04:00
|
|
|
Shows a list of the windows on the current desktop and allows switching between
|
|
|
|
them. Pressing the \fB\fCdelete-entry\fR binding (\fB\fCshift-delete\fR) will kill the
|
|
|
|
window. Pressing the \fB\fCaccept-custom\fR binding (\fB\fCcontrol-enter\fR or \fB\fCshift-enter\fR)
|
|
|
|
will run a command on the window. (See option \fB\fCwindow-command\fR );
|
2020-01-26 09:48:17 -05:00
|
|
|
|
2020-09-13 15:56:25 -04:00
|
|
|
.PP
|
|
|
|
If there is no match, it will try to launch the input.
|
|
|
|
|
2020-05-10 09:44:29 -04:00
|
|
|
.SS run
|
2020-01-26 09:48:17 -05:00
|
|
|
.PP
|
2023-03-26 20:01:28 -04:00
|
|
|
Shows a list of executables in \fB\fC$PATH\fR and can launch them (optional in a
|
|
|
|
terminal).
|
|
|
|
|
|
|
|
.RS
|
|
|
|
.IP \(bu 2
|
|
|
|
Pressing the \fB\fCdelete-entry\fR binding (\fB\fCshift-delete\fR) will remove this entry
|
|
|
|
from the run history.
|
|
|
|
.IP \(bu 2
|
|
|
|
Pressing the \fB\fCaccept-custom\fR binding (\fB\fCcontrol-enter\fR) will run the command
|
|
|
|
as entered in the entry box.
|
|
|
|
.IP \(bu 2
|
|
|
|
Pressing the \fB\fCaccept-alt\fR binding (\fB\fCshift-enter\fR) will run the command in a
|
|
|
|
terminal.
|
|
|
|
|
|
|
|
.RE
|
2020-01-26 09:48:17 -05:00
|
|
|
|
2021-06-07 17:13:21 -04:00
|
|
|
.PP
|
2023-03-26 20:01:28 -04:00
|
|
|
When pressing the \fB\fCmode-complete\fR binding (\fB\fCControl-l\fR), you can use the File
|
|
|
|
Browser mode to launch the application with a file as the first argument.
|
2021-06-07 17:13:21 -04:00
|
|
|
|
2020-05-10 09:44:29 -04:00
|
|
|
.SS drun
|
2020-01-26 09:48:17 -05:00
|
|
|
.PP
|
2023-03-26 20:01:28 -04:00
|
|
|
Same as the \fBrun\fP launches, but the list is created from the installed
|
|
|
|
desktop files. It automatically launches them in a terminal if specified in the
|
|
|
|
Desktop File.
|
|
|
|
|
|
|
|
.RS
|
|
|
|
.IP \(bu 2
|
|
|
|
Pressing the \fB\fCdelete-entry\fR binding (\fB\fCshift-delete\fR) will remove this entry
|
|
|
|
from the run history.
|
|
|
|
.IP \(bu 2
|
|
|
|
Pressing the \fB\fCaccept-custom\fR binding (\fB\fCcontrol-enter\fR) will run the command
|
|
|
|
as entered in the entry box.
|
|
|
|
.IP \(bu 2
|
|
|
|
Pressing the \fB\fCaccept-alt\fR binding (\fB\fCshift-enter\fR) will run the command in a
|
|
|
|
terminal.
|
|
|
|
|
|
|
|
.RE
|
2020-01-26 09:48:17 -05:00
|
|
|
|
2021-06-08 14:23:14 -04:00
|
|
|
.PP
|
2023-03-26 20:01:28 -04:00
|
|
|
When pressing the \fB\fCmode-complete\fR binding (\fB\fCControl-l\fR), you can use the File
|
|
|
|
Browser mode to launch the application passing a file as argument if specified
|
|
|
|
in the desktop file.
|
2021-06-08 14:23:14 -04:00
|
|
|
|
2021-06-07 17:13:21 -04:00
|
|
|
.PP
|
2021-08-26 16:43:11 -04:00
|
|
|
The DRUN mode tries to follow the XDG Desktop Entry
|
2021-06-07 17:13:21 -04:00
|
|
|
Specification
|
2023-03-26 20:01:28 -04:00
|
|
|
\[la]https://freedesktop.org/wiki/Specifications/desktop-entry-spec/\[ra]
|
|
|
|
and should be compatible with applications using this standard. Some
|
|
|
|
applications create invalid desktop files, \fBrofi\fP will discard these entries.
|
|
|
|
See the debugging section for more info on DRUN mode, this will print why
|
|
|
|
desktop files are discarded.
|
2021-06-07 17:13:21 -04:00
|
|
|
|
2021-06-15 10:19:57 -04:00
|
|
|
.PP
|
2023-04-22 15:50:20 -04:00
|
|
|
There are a few advanced options to tweak the behaviour:
|
2021-06-15 10:19:57 -04:00
|
|
|
|
|
|
|
.PP
|
|
|
|
.RS
|
|
|
|
|
|
|
|
.nf
|
|
|
|
configuration {
|
|
|
|
drun {
|
2023-04-22 15:50:20 -04:00
|
|
|
/** Scan the current users desktop for desktop files. */
|
|
|
|
scan-desktop: true;
|
2021-06-15 10:19:57 -04:00
|
|
|
/** Parse user desktop files. */
|
2022-10-22 05:03:11 -04:00
|
|
|
parse-user: true;
|
2021-06-15 10:19:57 -04:00
|
|
|
/** Parse system desktop files. */
|
2022-10-22 05:03:11 -04:00
|
|
|
parse-system: false;
|
2021-06-15 10:19:57 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.fi
|
|
|
|
.RE
|
|
|
|
|
2020-05-10 09:44:29 -04:00
|
|
|
.SS ssh
|
2020-01-26 09:48:17 -05:00
|
|
|
.PP
|
2023-03-26 20:01:28 -04:00
|
|
|
Shows a list of SSH targets based on your \fB\fCssh\fR config file, and allows to
|
|
|
|
quickly \fB\fCssh\fR into them.
|
2020-01-26 09:48:17 -05:00
|
|
|
|
2020-05-10 09:44:29 -04:00
|
|
|
.SS keys
|
2020-01-26 09:48:17 -05:00
|
|
|
.PP
|
|
|
|
Shows a searchable list of key bindings.
|
|
|
|
|
2020-05-10 09:44:29 -04:00
|
|
|
.SS script
|
2020-01-26 09:48:17 -05:00
|
|
|
.PP
|
2023-03-26 20:01:28 -04:00
|
|
|
Allows custom scripted Modes to be added, see the \fBrofi-script(5)\fP manpage
|
|
|
|
for more information.
|
2020-01-26 09:48:17 -05:00
|
|
|
|
2020-05-12 15:12:45 -04:00
|
|
|
.SS combi
|
|
|
|
.PP
|
2023-03-26 20:01:28 -04:00
|
|
|
Combines multiple modes in one list. Specify which modes are included with the
|
|
|
|
\fB\fC-combi-modes\fR option.
|
2020-05-12 15:12:45 -04:00
|
|
|
|
|
|
|
.PP
|
2022-02-23 16:42:56 -05:00
|
|
|
When using the combi mode, a \fI!bang\fP can be used to filter the results by modes.
|
|
|
|
All modes that match the bang as a prefix are included.
|
2022-10-22 05:03:11 -04:00
|
|
|
For example, say you have specified \fB\fC-combi-modes run,window,windowcd\fR\&. If your
|
2020-05-12 15:12:45 -04:00
|
|
|
query begins with the bang \fB\fC!w\fR, only results from the \fB\fCwindow\fR and \fB\fCwindowcd\fR
|
2022-02-23 16:42:56 -05:00
|
|
|
modes are shown, even if the rest of the input text would match results from \fB\fCrun\fR\&.
|
2020-05-12 15:12:45 -04:00
|
|
|
|
2020-09-13 15:56:25 -04:00
|
|
|
.PP
|
2022-02-23 16:42:56 -05:00
|
|
|
If no match, the input is handled by the first combined modes.
|
2020-09-13 15:56:25 -04:00
|
|
|
|
2020-01-26 09:48:17 -05:00
|
|
|
.SH FAQ
|
2023-03-26 20:01:28 -04:00
|
|
|
.SS The text in the window switcher is not nicely aligned
|
2020-01-26 09:48:17 -05:00
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
Try using a mono-space font or tabs + the tab-stops setting..
|
2020-01-26 09:48:17 -05:00
|
|
|
|
2023-03-26 20:01:28 -04:00
|
|
|
.SS The window is completely black
|
2020-01-26 09:48:17 -05:00
|
|
|
.PP
|
2023-03-26 20:01:28 -04:00
|
|
|
Check quotes used on the command-line: you might have used \fB\fC“\fR ("smart quotes")
|
|
|
|
instead of \fB\fC"\fR ("machine quotes").
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.SS What does the icon in the top right show?
|
|
|
|
.PP
|
2016-04-03 08:56:23 -04:00
|
|
|
The indicator shows:
|
2019-09-20 09:01:34 -04:00
|
|
|
|
2020-01-26 09:48:17 -05:00
|
|
|
.RS
|
2023-03-26 20:01:28 -04:00
|
|
|
.IP \(bu 2
|
|
|
|
Case insensitive and no sorting.
|
|
|
|
.IP \(bu 2
|
|
|
|
\fB\fC-\fR Case sensitivity enabled, no sorting.
|
|
|
|
.IP \(bu 2
|
|
|
|
\fB\fC+\fR Case insensitive and Sorting enabled
|
|
|
|
.IP \(bu 2
|
|
|
|
\fB\fC±\fR Sorting and Case sensitivity enabled"
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.RE
|
|
|
|
|
2022-01-22 08:20:16 -05:00
|
|
|
.SS Why do I see different icons for run,drun and window mode
|
|
|
|
.PP
|
|
|
|
Each of these modes uses different methods of resolving the icon:
|
|
|
|
|
|
|
|
.RS
|
|
|
|
.IP \(bu 2
|
|
|
|
Window: It first uses the icon that the application exposes via the X11
|
2023-03-26 20:01:28 -04:00
|
|
|
Server, if none is set it does a lookup of the window Class name in the icon
|
|
|
|
theme.
|
2022-01-22 08:20:16 -05:00
|
|
|
.IP \(bu 2
|
|
|
|
drun: It uses the icon set in the desktop file.
|
|
|
|
.IP \(bu 2
|
|
|
|
run: It does a lookup using the executable name.
|
|
|
|
|
|
|
|
.RE
|
|
|
|
|
2020-01-26 09:48:17 -05:00
|
|
|
.SH EXAMPLES
|
|
|
|
.PP
|
|
|
|
Some basic usage examples of \fBrofi\fP:
|
|
|
|
|
|
|
|
.PP
|
2016-12-21 03:42:04 -05:00
|
|
|
Show the run dialog:
|
2019-09-20 09:01:34 -04:00
|
|
|
|
2020-01-26 09:48:17 -05:00
|
|
|
.PP
|
|
|
|
.RS
|
|
|
|
|
|
|
|
.nf
|
2023-03-26 20:01:28 -04:00
|
|
|
rofi -modes run -show run
|
2020-01-26 09:48:17 -05:00
|
|
|
|
2016-12-21 03:42:04 -05:00
|
|
|
.fi
|
2020-01-26 09:48:17 -05:00
|
|
|
.RE
|
|
|
|
|
|
|
|
.PP
|
2020-05-10 09:44:29 -04:00
|
|
|
Show the run dialog, and allow switching to Desktop File run dialog (\fB\fCdrun\fR):
|
2019-09-20 09:01:34 -04:00
|
|
|
|
2020-01-26 09:48:17 -05:00
|
|
|
.PP
|
|
|
|
.RS
|
|
|
|
|
|
|
|
.nf
|
2023-03-26 20:01:28 -04:00
|
|
|
rofi -modes run,drun -show run
|
2020-01-26 09:48:17 -05:00
|
|
|
|
2016-12-21 03:42:04 -05:00
|
|
|
.fi
|
2020-01-26 09:48:17 -05:00
|
|
|
.RE
|
|
|
|
|
|
|
|
.PP
|
2020-05-10 09:44:29 -04:00
|
|
|
Combine the run and Desktop File run dialog (\fB\fCdrun\fR):
|
2019-09-20 09:01:34 -04:00
|
|
|
|
2020-01-26 09:48:17 -05:00
|
|
|
.PP
|
|
|
|
.RS
|
|
|
|
|
|
|
|
.nf
|
2023-03-26 20:01:28 -04:00
|
|
|
rofi -modes combi -show combi -combi-modes run,drun
|
2020-01-26 09:48:17 -05:00
|
|
|
|
2016-12-21 03:42:04 -05:00
|
|
|
.fi
|
2020-01-26 09:48:17 -05:00
|
|
|
.RE
|
|
|
|
|
|
|
|
.PP
|
2023-03-26 20:01:28 -04:00
|
|
|
Combine the run and Desktop File run dialog (\fB\fCdrun\fR), and allow switching to
|
|
|
|
window switcher:
|
2019-09-20 09:01:34 -04:00
|
|
|
|
2020-01-26 09:48:17 -05:00
|
|
|
.PP
|
|
|
|
.RS
|
|
|
|
|
|
|
|
.nf
|
2023-03-26 20:01:28 -04:00
|
|
|
rofi -modes combi,window -show combi -combi-modes run,drun
|
2020-01-26 09:48:17 -05:00
|
|
|
|
2016-12-21 03:42:04 -05:00
|
|
|
.fi
|
2020-01-26 09:48:17 -05:00
|
|
|
.RE
|
|
|
|
|
|
|
|
.PP
|
2017-08-13 14:31:46 -04:00
|
|
|
Pop up a text message claiming that this is the end:
|
2019-09-20 09:01:34 -04:00
|
|
|
|
2020-01-26 09:48:17 -05:00
|
|
|
.PP
|
|
|
|
.RS
|
|
|
|
|
|
|
|
.nf
|
2023-03-26 20:01:28 -04:00
|
|
|
rofi -e "This is the end"
|
2020-01-26 09:48:17 -05:00
|
|
|
|
2016-12-21 03:42:04 -05:00
|
|
|
.fi
|
2020-01-26 09:48:17 -05:00
|
|
|
.RE
|
|
|
|
|
|
|
|
.PP
|
2017-08-13 14:31:46 -04:00
|
|
|
Pop up a text message in red, bold font claiming that this is still the end:
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
|
|
|
.RS
|
|
|
|
|
2016-12-21 03:42:04 -05:00
|
|
|
.nf
|
2023-03-26 20:01:28 -04:00
|
|
|
rofi -e "<span color='red'><b>This is still the end</b></span>" -markup
|
2019-09-20 09:01:34 -04:00
|
|
|
|
2016-12-21 03:42:04 -05:00
|
|
|
.fi
|
2020-01-26 09:48:17 -05:00
|
|
|
.RE
|
|
|
|
|
|
|
|
.PP
|
2017-08-13 14:31:46 -04:00
|
|
|
Show all key bindings:
|
2019-09-20 09:01:34 -04:00
|
|
|
|
2020-01-26 09:48:17 -05:00
|
|
|
.PP
|
|
|
|
.RS
|
|
|
|
|
|
|
|
.nf
|
2023-03-26 20:01:28 -04:00
|
|
|
rofi -show keys
|
2020-01-26 09:48:17 -05:00
|
|
|
|
2016-12-21 03:42:04 -05:00
|
|
|
.fi
|
2020-01-26 09:48:17 -05:00
|
|
|
.RE
|
|
|
|
|
|
|
|
.SH i3
|
|
|
|
.PP
|
|
|
|
In i3
|
2023-03-26 20:01:28 -04:00
|
|
|
\[la]http://i3wm.org/\[ra] you want to bind \fBrofi\fP to be launched on key
|
|
|
|
release. Otherwise, it cannot grab the keyboard. See also the i3
|
|
|
|
manual
|
2020-01-26 09:48:17 -05:00
|
|
|
\[la]http://i3wm.org/docs/userguide.html\[ra]:
|
2019-09-20 09:01:34 -04:00
|
|
|
|
2020-01-26 09:48:17 -05:00
|
|
|
.PP
|
2023-03-26 20:01:28 -04:00
|
|
|
Some tools (such as \fB\fCimport\fR or \fB\fCxdotool\fR) might be unable to run upon a
|
|
|
|
KeyPress event, because the keyboard/pointer is still grabbed. For these
|
|
|
|
situations, the \fB\fC--release\fR flag can be used, as it will execute the command
|
|
|
|
after the keys have been released.
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.SH LICENSE
|
|
|
|
.PP
|
|
|
|
.RS
|
|
|
|
|
|
|
|
.nf
|
2023-03-26 20:01:28 -04:00
|
|
|
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.
|
2020-01-26 09:48:17 -05:00
|
|
|
|
2015-06-02 13:01:25 -04:00
|
|
|
.fi
|
2020-01-26 09:48:17 -05:00
|
|
|
.RE
|
|
|
|
|
|
|
|
.SH WEBSITE
|
|
|
|
.PP
|
|
|
|
\fBrofi\fP website can be found here
|
2022-07-31 10:28:05 -04:00
|
|
|
\[la]https://github.com/davatorium/rofi/\[ra]
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.SH SUPPORT
|
|
|
|
.PP
|
2021-06-07 17:13:21 -04:00
|
|
|
\fBrofi\fP support can be obtained:
|
2022-12-31 07:15:01 -05:00
|
|
|
|
|
|
|
.RS
|
|
|
|
.IP \(bu 2
|
|
|
|
GitHub Discussions
|
2021-06-07 17:13:21 -04:00
|
|
|
\[la]https://github.com/davatorium/rofi/discussions\[ra]
|
2022-12-31 07:15:01 -05:00
|
|
|
.IP \(bu 2
|
|
|
|
IRC
|
2021-06-07 17:13:21 -04:00
|
|
|
\[la]irc://irc.libera.chat:6697/#rofi\[ra] (#rofi on irc.libera.chat),
|
2020-01-26 09:48:17 -05:00
|
|
|
|
2022-12-31 07:15:01 -05:00
|
|
|
.RE
|
|
|
|
|
2020-01-26 09:48:17 -05:00
|
|
|
.SH DEBUGGING
|
|
|
|
.PP
|
2022-10-22 05:03:11 -04:00
|
|
|
For more information see \fBrofi-debugging(5)\fP manpage.
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.SH ISSUE TRACKER
|
|
|
|
.PP
|
2020-05-10 09:44:29 -04:00
|
|
|
The \fBrofi\fP issue tracker can be found here
|
2022-07-31 10:28:05 -04:00
|
|
|
\[la]https://github.com/davatorium/rofi/issues\[ra]
|
|
|
|
Before creating an issue, consider posting a question on the discussion forum
|
|
|
|
\[la]https://github.com/davatorium/rofi/discussions\[ra] first.
|
2020-01-26 09:48:17 -05:00
|
|
|
When creating an issue, please read this
|
2022-07-31 10:28:05 -04:00
|
|
|
\[la]https://github.com/davatorium/rofi/blob/master/.github/CONTRIBUTING.md\[ra]
|
2020-01-26 09:48:17 -05:00
|
|
|
first.
|
|
|
|
|
|
|
|
.SH SEE ALSO
|
|
|
|
.PP
|
2023-03-26 20:01:28 -04:00
|
|
|
\fBrofi-sensible-terminal(1)\fP, \fBdmenu(1)\fP, \fBrofi-debugging(5)\fP,
|
|
|
|
\fBrofi-theme(5)\fP, \fBrofi-script(5)\fP,
|
|
|
|
\fBrofi-keys(5)\fP,\fBrofi-theme-selector(1)\fP,\fBrofi-dmenu(5)\fP
|
2020-01-26 09:48:17 -05:00
|
|
|
|
2021-06-15 14:10:04 -04:00
|
|
|
.SH AUTHOR
|
|
|
|
.RS
|
|
|
|
.IP \(bu 2
|
2022-10-22 05:03:11 -04:00
|
|
|
Qball Cow qball@blame.services
|
|
|
|
\[la]mailto:qball@blame.services\[ra]
|
2020-05-10 09:44:29 -04:00
|
|
|
.IP \(bu 2
|
2022-10-22 05:03:11 -04:00
|
|
|
Rasmus Steinke rasi@xssn.at
|
|
|
|
\[la]mailto:rasi@xssn.at\[ra]
|
2020-05-10 09:44:29 -04:00
|
|
|
.IP \(bu 2
|
2022-10-22 05:03:11 -04:00
|
|
|
Morgane Glidic sardemff7+rofi@sardemff7.net
|
|
|
|
\[la]mailto:sardemff7+rofi@sardemff7.net\[ra]
|
2020-01-26 09:48:17 -05:00
|
|
|
|
2021-06-15 14:10:04 -04:00
|
|
|
.RE
|
|
|
|
|
2020-01-26 09:48:17 -05:00
|
|
|
.PP
|
2021-06-08 16:02:29 -04:00
|
|
|
Original code based on work by: Sean Pringle
|
2022-10-22 05:03:11 -04:00
|
|
|
\[la]https://github.com/seanpringle/simpleswitcher\[ra] sean.pringle@gmail.com
|
|
|
|
\[la]mailto:sean.pringle@gmail.com\[ra]
|
2020-01-26 09:48:17 -05:00
|
|
|
|
|
|
|
.PP
|
2020-05-10 09:44:29 -04:00
|
|
|
For a full list of authors, check the \fB\fCAUTHORS\fR file.
|