mirror of
https://github.com/mmhobi7/xwinwrap.git
synced 2026-09-10 07:16:15 -04:00
Reorganize usage info
This commit is contained in:
parent
76b9d5e189
commit
b5c5f60d82
15
README.md
15
README.md
|
|
@ -24,11 +24,15 @@ make clean
|
|||
### Usage
|
||||
|
||||
```
|
||||
Usage: xwinwrap [-g {w}x{h}+{x}+{y}] [-ni] [-argb] [-fs] [-s] [-st] [-sp] [-a] [-b] [-nf] [-o OPACITY] [-sh SHAPE] [-ov]-- COMMAND ARG1...
|
||||
Usage: xwinwrap [-g {w}x{h}+{x}+{y}] [-ni] [-argb] [-fdt]
|
||||
[-fs] [-un] [-s] [-st] [-sp] [-a] [-b] [-nf] [-o OPACITY]
|
||||
[-sh SHAPE] [-ov] [-d] [-debug] -- COMMAND ARG1...
|
||||
Options:
|
||||
-g - Specify Geometry (w=width, h=height, x=x-coord, y=y-coord. ex: -g 640x480+100+100)
|
||||
-g - Specify Geometry (w=width, h=height, x=x-coord,
|
||||
y=y-coord. ex: -g 640x480+100+100)
|
||||
-ni - Ignore Input
|
||||
-argb - RGB
|
||||
-fdt - Force WID window a desktop type window
|
||||
-fs - Full Screen
|
||||
-un - Undecorated
|
||||
-s - Sticky
|
||||
|
|
@ -38,8 +42,11 @@ Options:
|
|||
-b - Below
|
||||
-nf - No Focus
|
||||
-o - Opacity value between 0 to 1 (ex: -o 0.20)
|
||||
-sh - Shape of window (choose between rectangle, circle or triangle. Default is rectangle)
|
||||
-ov - Set override_redirect flag (For seamless desktop background integration in non-fullscreenmode)
|
||||
-sh - Shape of window (choose between rectangle, circle or
|
||||
triangle. Default is rectangle)
|
||||
-ov - Set override_redirect flag (For seamless desktop
|
||||
background integration in non-fullscreenmode)
|
||||
-d - Daemonize
|
||||
-debug - Enable debug messages
|
||||
```
|
||||
Example
|
||||
|
|
|
|||
16
xwinwrap.c
16
xwinwrap.c
|
|
@ -177,13 +177,15 @@ static void sigHandler (int sig)
|
|||
static void usage (void)
|
||||
{
|
||||
fprintf(stderr, "%s \n", NAME);
|
||||
fprintf (stderr, "\nUsage: %s [-g {w}x{h}+{x}+{y}] [-ni] [-argb] [-fdt] [-fs] [-s] [-st] [-sp] [-a] [-d] "
|
||||
"[-b] [-nf] [-o OPACITY] [-sh SHAPE] [-ov]-- COMMAND ARG1...\n", NAME);
|
||||
fprintf (stderr, "\nUsage: %s [-g {w}x{h}+{x}+{y}] [-ni] [-argb] [-fdt]\n \
|
||||
[-fs] [-un] [-s] [-st] [-sp] [-a] [-b] [-nf] [-o OPACITY]\n \
|
||||
[-sh SHAPE] [-ov] [-d] [-debug] -- COMMAND ARG1...\n", NAME);
|
||||
fprintf (stderr, "Options:\n \
|
||||
-g - Specify Geometry (w=width, h=height, x=x-coord, y=y-coord. ex: -g 640x480+100+100)\n \
|
||||
-g - Specify Geometry (w=width, h=height, x=x-coord,\n \
|
||||
y=y-coord. ex: -g 640x480+100+100)\n \
|
||||
-ni - Ignore Input\n \
|
||||
-argb - RGB\n \
|
||||
-fdt - force WID window a desktop type window\n \
|
||||
-fdt - Force WID window a desktop type window\n \
|
||||
-fs - Full Screen\n \
|
||||
-un - Undecorated\n \
|
||||
-s - Sticky\n \
|
||||
|
|
@ -193,8 +195,10 @@ static void usage (void)
|
|||
-b - Below\n \
|
||||
-nf - No Focus\n \
|
||||
-o - Opacity value between 0 to 1 (ex: -o 0.20)\n \
|
||||
-sh - Shape of window (choose between rectangle, circle or triangle. Default is rectangle)\n \
|
||||
-ov - Set override_redirect flag (For seamless desktop background integration in non-fullscreenmode)\n \
|
||||
-sh - Shape of window (choose between rectangle, circle or\n \
|
||||
triangle. Default is rectangle)\n \
|
||||
-ov - Set override_redirect flag (For seamless desktop\n \
|
||||
background integration in non-fullscreenmode)\n \
|
||||
-d - Daemonize\n \
|
||||
-debug - Enable debug messages\n");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue