aboutsummaryrefslogtreecommitdiff
path: root/xdeadzone.rst
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2024-02-01 05:01:02 -0500
committerB. Watson <urchlay@slackware.uk>2024-02-01 05:01:32 -0500
commit2bd88c14e52a8c1e96b8ef2a7e4f5ba990b59019 (patch)
treea935ba77d0beba06409c4029d3d5ba7b228f35a1 /xdeadzone.rst
parenta5ce3ca8d6d44053f9f6c78bb3ac1edbf06bea45 (diff)
downloadxdeadzone-2bd88c14e52a8c1e96b8ef2a7e4f5ba990b59019.tar.gz
Further simplify argument procesing, fix -abs negative offsets.
Diffstat (limited to 'xdeadzone.rst')
-rw-r--r--xdeadzone.rst25
1 files changed, 23 insertions, 2 deletions
diff --git a/xdeadzone.rst b/xdeadzone.rst
index ea80766..f0476e1 100644
--- a/xdeadzone.rst
+++ b/xdeadzone.rst
@@ -20,7 +20,7 @@ keep the mouse pointer out of the dead zone, on mismatched multihead displays.
SYNOPSIS
========
-xdeadzone [**-nw** | **-ne** | **-sw** | **-se** | **-abs**] *geometry*
+xdeadzone <[**-i** **-b** | **-w** ]> [**-nw** | **-ne** | **-sw** | **-se** | **-abs**] *geometry*
xdeadzone **--help** | **--version**
@@ -52,12 +52,30 @@ environments, and works properly with at least: KDE (Plasma 5), XFCE
OPTIONS
=======
+Optional arguments
+------------------
+
--help
Print built-in help message and exit.
--version
Print the application name and version number, and exit.
+**-i**
+ Make window invisible. This is the default.
+
+**-b**
+ Make window visible, display as a black rectangle.
+
+**-w**
+ Make window visible, display as a white rectangle.
+
+
+Modes
+-----
+
+One mode argument is required.
+
**-nw**
Place window at northwest (top left) corner of display.
@@ -73,9 +91,12 @@ OPTIONS
**-abs**
Place window at the coordinates given by **geometry**.
+Required argument
+-----------------
+
**geometry**
This is a standard X11 geometry specification. Its format is
- <*width*>x<*height*> for all modes other than **--abs**. For **--abs**,
+ <*width*>x<*height*> for all modes other than **-abs**. For **-abs**,
it's <*width*>x<*height*>[*+-*]<*xpos*>[*+-*]<*ypos*>.
Negative xpos and ypos will be
treated as offsets from the right/bottom of the display.