Update manpage a bit.

This commit is contained in:
QC 2015-04-05 21:49:55 +02:00
parent 5e4cf732e6
commit df1f3e9658
2 changed files with 41 additions and 0 deletions

View File

@ -66,6 +66,25 @@ MIT/X11
**rofi** can be used in two ways, single-shot; executes once and directly exits when done or as
daemon listening to specific key-combinations.
### Single-shot mode
To launch **rofi** directly in a certain mode, specifying `rofi -show <mode>`.
To show the run dialog:
```
rofi -show run
```
### Deamon 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:
```
rofi -key-run F2
```
Keybindings can also be specified in the `Xresources` file.
## OPTIONS

View File

@ -60,6 +60,28 @@ MIT/X11
.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.
.SS Single\-shot mode
.PP
To launch \fBrofi\fP directly in a certain mode, specifying \fB\fCrofi \-show <mode>\fR\&.
To show the run dialog:
.PP
.RS
.nf
rofi \-show run
.fi
.RE
.SS Deamon 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:
.PP
.RS
.nf
rofi \-key\-run F2
.fi
.RE
.PP
Keybindings can also be specified in the \fB\fCXresources\fR file.
.SH OPTIONS
.PP
\fB\fC\-key\-{mode}\fR \fBKEY\fP