about summary refs log tree commit diff
path: root/README.md
diff options
context:
space:
mode:
authorUjjwal Verma <ujjwalverma1111@gmail.com>2017-08-31 00:52:24 +0530
committerUjjwal Verma <ujjwalverma1111@gmail.com>2017-08-31 03:46:10 +0530
commite6fe93529745f1d7da17f5f9f0eaccbf1c17ccae (patch)
tree2d744ca5ee4b9feb08fd0daccf4aeefcbbfa82f0 /README.md
downloadxwinwrap-e6fe93529745f1d7da17f5f9f0eaccbf1c17ccae.tar.gz
xwinwrap-e6fe93529745f1d7da17f5f9f0eaccbf1c17ccae.tar.bz2
xwinwrap-e6fe93529745f1d7da17f5f9f0eaccbf1c17ccae.zip
First Commit
Diffstat (limited to 'README.md')
-rw-r--r--README.md45
1 files changed, 45 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..aaa0498
--- /dev/null
+++ b/README.md
@@ -0,0 +1,45 @@
+# Xwinwrap
+
+My fork of xwinwrap.  
+Xwinwrap allows you to stick most of the apps to your desktop background.  
+My use case - can use gif as a background
+
+### Compiling
+
+`gcc -Wall xwinwrap.c -lX11 -lXext -lXrender -g -o xwinwrap`
+
+You may have to use `-L` flag to specify directory for xlib.
+e.g. `gcc -Wall xwinwrap.c -L /usr/lib/x86_64-linux-gnu -lX11 -lXext -lXrender -g -o xwinwrap`
+
+### 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...
+Options:
+             -g      - Specify Geometry (w=width, h=height, x=x-coord, y=y-coord. ex: -g 640x480+100+100)
+             -ni     - Ignore Input
+             -argb   - RGB
+             -fs     - Full Screen
+             -un     - Undecorated
+             -s      - Sticky
+             -st     - Skip Taskbar
+             -sp     - Skip Pager
+             -a      - Above
+             -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)
+             -debug  - Enable debug messages
+```
+Example
+`./xwinwrap -g 400x400 -ni -s -nf -b -un -argb -sh circle -- gifview -w WID mygif.gif -a`
+
+### Changes
+
+* Added ability to make undecorated window
+* Changed how desktop window is found
+* Refactored window hints
+
+----
+Original source - https://launchpad.net/xwinwrap