summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorThorsten Wißmann <edu@thorsten-wissmann.de>2015-08-17 18:32:17 +0200
committerThorsten Wißmann <edu@thorsten-wissmann.de>2015-08-17 18:32:17 +0200
commitcf731b1504b66af6b6c0b0e8d99cd044cc046bb0 (patch)
tree2a963646661d3e71c6fab8ce4f61b9c7e05f2fb4 /doc
parentfbb2e34aabcc694f7b2088fc85dba4d9326fdc95 (diff)
Monitor -2 stands for the focused window
When setting rofi's monitor to -2, rofi is placed over the focused window.
Diffstat (limited to 'doc')
-rw-r--r--doc/rofi-manpage.markdown4
-rw-r--r--doc/rofi.18
2 files changed, 8 insertions, 4 deletions
diff --git a/doc/rofi-manpage.markdown b/doc/rofi-manpage.markdown
index d5ab23a2..6cb948c0 100644
--- a/doc/rofi-manpage.markdown
+++ b/doc/rofi-manpage.markdown
@@ -406,7 +406,9 @@ The following options are further explained in the theming section:
`-m` *num*
`-monitor` *num*
- Select (Xinerama) monitor to display **rofi** on.
+ Select (Xinerama) monitor to display **rofi** on. The special number -1 denotes the currently focused monitor, the number -2 denotes the currently focused window (i.e. rofi will be displayed on top of the focused window).
+
+ Default: *-1*
### PATTERN setting
diff --git a/doc/rofi.1 b/doc/rofi.1
index e53dddbe..0b7de0f9 100644
--- a/doc/rofi.1
+++ b/doc/rofi.1
@@ -741,9 +741,11 @@ When one entry is left, automatically select this\.
.
.IP "" 4
.
-.nf
-
-Select (Xinerama) monitor to display **rofi** on\.
+.P
+Select (Xinerama) monitor to display **rofi** on\. The special number -1 denotes the currently focused monitor, the number -2 denotes the currently focused window (i.e. rofi will be displayed on top of the focused window).
+.
+.P
+Default: \fI{cmd}\fR
.
.fi
.