From f53d06bbec6ef3ae051c4af85870a7a88ca11ce2 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Thu, 1 Feb 2024 13:10:12 -0500 Subject: Add -n (normal window) option. --- xdeadzone.1 | 63 +++++++++++++++++++++++++++++++------------------------------ 1 file changed, 32 insertions(+), 31 deletions(-) (limited to 'xdeadzone.1') diff --git a/xdeadzone.1 b/xdeadzone.1 index 3981861..abb9051 100644 --- a/xdeadzone.1 +++ b/xdeadzone.1 @@ -64,29 +64,11 @@ it anyway. environments, and works properly with at least: KDE (Plasma 5), XFCE 4, Fmwv2, WindowMaker, BlackBox, and FluxBox. .SH OPTIONS -.SS Optional arguments -.INDENT 0.0 -.TP -.B \-\-help -Print built\-in help message and exit. -.TP -.B \-\-version -Print the application name and version number, and exit. -.UNINDENT -.INDENT 0.0 -.TP -.B \fB\-i\fP -Make window invisible. This is the default. -.TP -.B \fB\-b\fP -Make window visible, display as a black rectangle. -.TP -.B \fB\-w\fP -Make window visible, display as a white rectangle. -.UNINDENT +.sp +Options can appear in any order on the command line. .SS Modes .sp -One mode argument is required. +One (and only one) mode option is required. .INDENT 0.0 .TP .B \fB\-nw\fP @@ -116,6 +98,35 @@ treated as offsets from the right/bottom of the display. .sp Examples: \fB200x100\fP, \fB64x64\-0\-0\fP, \fB50x60+100+100\fP\&. .UNINDENT +.SS Appearance options +.sp +These are optional, and control how \fBxdeadzone\fP\(aqs window will +look and behave. +.INDENT 0.0 +.TP +.B \fB\-i\fP +Make window invisible. This is the default. +.TP +.B \fB\-b\fP +Make window visible, display as a black rectangle. +.TP +.B \fB\-w\fP +Make window visible, display as a white rectangle. +.TP +.B \fB\-n\fP +Create window as a normal window, with titlebar and without +appearing on all desktops. Implies \fB\-w\fP, but can be followed +by \fB\-b\fP for a black rectangle. +.UNINDENT +.SS Informational options +.INDENT 0.0 +.TP +.B \-\-help +Print built\-in help, then exit. +.TP +.B \-\-version +Print the application name and version number, then exit. +.UNINDENT .SH ENVIRONMENT .INDENT 0.0 .TP @@ -170,16 +181,6 @@ xdeadzone \-ne 640x1024 & .sp If the dead zone were on the left of the top monitor, you\(aqd use \fB\-nw\fP instead of \fB\-ne\fP\&. -.SH BUGS -.sp -There isn\(aqt much error\-checking for the numeric arguments. Anything -non\-numeric will be read as zero. If you include a decimal point, -that should be an error, but instead it\(aqs silently ignored (the value -is truncated). -.sp -Maybe it should background (daemonize) itself. However, it works -fine with & to background it, and this is pretty common practice for -starting X software from ~/.xinitrc. .SH COPYRIGHT .sp WTFPL. Do WTF you want to with this. -- cgit v1.2.3