summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2017-01-07 10:35:36 +0100
committerDave Davenport <qball@gmpclient.org>2017-01-07 10:35:36 +0100
commitc98b67ed0d14c26bc0e022461f3a432c64c9cd80 (patch)
treec93c531f6b617cbcb75e9e9f38724a8c4d858894 /doc
parentff88d3d6d7673ee3d703e66590f837a641828010 (diff)
Make lazy-key-grab an option, add --release for i3 to manpage.
Diffstat (limited to 'doc')
-rw-r--r--doc/rofi-manpage.markdown13
-rw-r--r--doc/rofi.112
2 files changed, 25 insertions, 0 deletions
diff --git a/doc/rofi-manpage.markdown b/doc/rofi-manpage.markdown
index 8d3957d4..f0179355 100644
--- a/doc/rofi-manpage.markdown
+++ b/doc/rofi-manpage.markdown
@@ -209,6 +209,10 @@ Select the scrolling method. 0: Per page, 1: continuous.
Hide the indicator that shows what part of the string is matched.
+`-lazy-grab`
+
+When fail to grab keyboard, don't block but retry later in background.
+
### Theming
All colors are either hex #rrggbb, #aarrggbb or argb:aarrggbbvalues or X11 color names.
@@ -886,6 +890,15 @@ Use `qalc` to get a simple calculator in **rofi**:
rofi -show calc -modi "calc:qalc +u8 -nocurrencies"
+## I3
+
+In [I3](http://i3wm.org/) you want to bind rofi to be launched on key-release. Otherwise it cannot grab the keyboard.
+See also the I3 [manual](http://i3wm.org/docs/userguide.html):
+
+Some tools (such as import or xdotool) might be unable to run upon a KeyPress event, because the keyboard/pointer is
+still grabbed. For these situations, the --release flag can be used, which will execute the command after the keys have
+been released.
+
## LICENSE
MIT/X11
diff --git a/doc/rofi.1 b/doc/rofi.1
index 3217a6a2..dea91f1e 100644
--- a/doc/rofi.1
+++ b/doc/rofi.1
@@ -300,6 +300,12 @@ Select the scrolling method\. 0: Per page, 1: continuous\.
.P
Hide the indicator that shows what part of the string is matched\.
.
+.P
+\fB\-lazy\-grab\fR
+.
+.P
+When fail to grab keyboard, don\'t block but retry later in background\.
+.
.SS "Theming"
All colors are either hex #rrggbb, #aarrggbb or argb:aarrggbbvalues or X11 color names\.
.
@@ -1469,6 +1475,12 @@ Use \fBqalc\fR to get a simple calculator in \fBrofi\fR:
.
.IP "" 0
.
+.SH "I3"
+In I3 \fIhttp://i3wm\.org/\fR you want to bind rofi to be launched on key\-release\. Otherwise it cannot grab the keyboard\. See also the I3 manual \fIhttp://i3wm\.org/docs/userguide\.html\fR:
+.
+.P
+Some tools (such as import or xdotool) might be unable to run upon a KeyPress event, because the keyboard/pointer is still grabbed\. For these situations, the \-\-release flag can be used, which will execute the command after the keys have been released\.
+.
.SH "LICENSE"
.
.nf