1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-18 13:54:36 -05:00

Add dmenu as possible mode in manpage.

This commit is contained in:
QC 2015-04-05 22:00:27 +02:00
parent df1f3e9658
commit 274819cb34
2 changed files with 18 additions and 6 deletions

View file

@ -63,8 +63,8 @@ MIT/X11
## USAGE
**rofi** can be used in two ways, single-shot; executes once and directly exits when done or as
daemon listening to specific key-combinations.
**rofi** can be used in three ways, single-shot; executes once and directly exits when done, as a
daemon listening to specific key-combination or emulating dmenu.
### Single-shot mode
@ -75,7 +75,7 @@ To show the run dialog:
rofi -show run
```
### Deamon mode
### Daemon mode
To launch **rofi** in daemon mode don't specify a mode to show (`-show <mode>`), instead you can
bind keys to launch a certain mode. To have run mode open when pressing `F2` start **rofi** like:
@ -85,6 +85,11 @@ bind keys to launch a certain mode. To have run mode open when pressing `F2` sta
```
Keybindings can also be specified in the `Xresources` file.
### Emulating dmenu
**rofi** can emulate `dmenu` (a dynamic menu for X) when launched with the `-dmenu` flag.
The official website for `dmenu` can be found: http://tools.suckless.org/dmenu/
## OPTIONS

View file

@ -58,8 +58,8 @@ filter, tokenized search and more.
MIT/X11
.SH USAGE
.PP
\fBrofi\fP can be used in two ways, single\-shot; executes once and directly exits when done or as
daemon listening to specific key\-combinations.
\fBrofi\fP can be used in three ways, single\-shot; executes once and directly exits when done, as a
daemon listening to specific key\-combination or emulating dmenu.
.SS Single\-shot mode
.PP
To launch \fBrofi\fP directly in a certain mode, specifying \fB\fCrofi \-show <mode>\fR\&.
@ -70,7 +70,7 @@ To show the run dialog:
rofi \-show run
.fi
.RE
.SS Deamon mode
.SS Daemon mode
.PP
To launch \fBrofi\fP in daemon mode don't specify a mode to show (\fB\fC\-show <mode>\fR), instead you can
bind keys to launch a certain mode. To have run mode open when pressing \fB\fCF2\fR start \fBrofi\fP like:
@ -82,6 +82,13 @@ bind keys to launch a certain mode. To have run mode open when pressing \fB\fCF2
.RE
.PP
Keybindings can also be specified in the \fB\fCXresources\fR file.
.SS Emulating dmenu
.PP
\fBrofi\fP can emulate \fB\fCdmenu\fR (a dynamic menu for X) when launched with the \fB\fC\-dmenu\fR flag.
.PP
The official website for \fB\fCdmenu\fR can be found:
.UR http://tools.suckless.org/dmenu/
.UE
.SH OPTIONS
.PP
\fB\fC\-key\-{mode}\fR \fBKEY\fP