From 274819cb3434289817d53ea6823ede3ddea11f04 Mon Sep 17 00:00:00 2001 From: QC Date: Sun, 5 Apr 2015 22:00:27 +0200 Subject: [PATCH] Add dmenu as possible mode in manpage. --- doc/rofi-manpage.markdown | 11 ++++++++--- doc/rofi.1 | 13 ++++++++++--- 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/doc/rofi-manpage.markdown b/doc/rofi-manpage.markdown index 964fb2fb..05a3958c 100644 --- a/doc/rofi-manpage.markdown +++ b/doc/rofi-manpage.markdown @@ -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 `), 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 diff --git a/doc/rofi.1 b/doc/rofi.1 index ea500ea2..b3a674dd 100644 --- a/doc/rofi.1 +++ b/doc/rofi.1 @@ -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 \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 \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