diff --git a/doc/rofi-manpage.markdown b/doc/rofi-manpage.markdown index 39d1fb7e..964fb2fb 100644 --- a/doc/rofi-manpage.markdown +++ b/doc/rofi-manpage.markdown @@ -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 `. +To show the run dialog: + +``` + rofi -show run +``` + +### Deamon mode + +To launch **rofi** in daemon mode don't specify a mode to show (`-show `), 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 diff --git a/doc/rofi.1 b/doc/rofi.1 index fbc2e1e2..ea500ea2 100644 --- a/doc/rofi.1 +++ b/doc/rofi.1 @@ -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 \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 \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