diff options
| author | Aaahh Ahh <woohoomoo2u@gmail.com> | 2017-12-27 17:47:26 -0500 |
|---|---|---|
| committer | Aaahh Ahh <woohoomoo2u@gmail.com> | 2017-12-27 17:49:39 -0500 |
| commit | b5c5f60d825263b8bcbcd0be54de7074320c3f7e (patch) | |
| tree | f913f0a68eb0b1800fd480d1c496a01e928fa124 | |
| parent | 76b9d5e1894d0ea61a435f5ffe3edb10383a24b7 (diff) | |
Reorganize usage info
| -rw-r--r-- | README.md | 15 | ||||
| -rw-r--r-- | xwinwrap.c | 16 |
2 files changed, 21 insertions, 10 deletions
@@ -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 @@ -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"); } |
