summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorFlorian Bruhin <git@the-compiler.org>2012-11-25 23:59:00 +0100
committerThorsten Wißmann <edu@thorsten-wissmann.de>2012-12-24 17:46:16 +0100
commit227494383f70472b8d4c3cd5b490ac4f70e32bcc (patch)
tree0be112ce6be8b49746a9b938bf02174062049913 /doc
parentaff1ba3d829d9497396ac36a920a875bc3d0b7be (diff)
Add monitor names to add_monitor
Diffstat (limited to 'doc')
-rw-r--r--doc/herbstluftwm.txt11
1 files changed, 5 insertions, 6 deletions
diff --git a/doc/herbstluftwm.txt b/doc/herbstluftwm.txt
index 2de02d78..33a6a615 100644
--- a/doc/herbstluftwm.txt
+++ b/doc/herbstluftwm.txt
@@ -514,15 +514,14 @@ detect_monitors::
Xinerama extension is missing, it will fall back to one monitor across the
entire screen.
-add_monitor 'RECT' ['TAG' ['PADUP' ['PADRIGHT' ['PADDOWN' ['PADLEFT']]]]]::
+add_monitor 'RECT' ['TAG' ['NAME']]::
Adds a monitor on the specified rectangle 'RECT' and displays 'TAG' on it.
'TAG' currently must not be displayed on any other monitor. 'RECT' is a
- string of the form 'WxH±X±Y'. The padding specifies extra space around the
- monitor for some statusbars/panels. If no or an empty padding is given, it
- is set to 0. If no or an empty 'TAG' is given, then any free tag will be
- chosen. Example:
+ string of the form 'WxH±X±Y'. If no or an empty 'TAG' is given, then any
+ free tag will be chosen. If a 'NAME' is given, you can reference to this
+ monitor by its name instead of using an index. Example:
- * add_monitor 1024x768-20+0 mynewtag 16
+ * add_monitor 1024x768-20+0 mynewtag main
remove_monitor 'INDEX'::