xwinwrap/README.md

54 lines
1.7 KiB
Markdown
Raw Normal View History

2017-08-31 03:22:24 +08:00
# 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
2017-08-31 07:26:44 +08:00
![demo gif](https://github.com/ujjwal96/xwinwrap/blob/demo/demo.gif)
2017-08-31 07:04:00 +08:00
### Installing
2017-08-31 03:22:24 +08:00
2017-08-31 07:04:00 +08:00
```
sudo apt-get install xorg-dev build-essential libx11-dev x11proto-xext-dev libxrender-dev libxext-dev
git clone https://github.com/ujjwal96/xwinwrap.git
cd xwinwrap
make
sudo make install
make clean
```
2017-08-31 03:22:24 +08:00
### Usage
```
Usage: xwinwrap [-g {w}x{h}+{x}+{y}] [-ni] [-argb] [-fdt] [-fs] [-s] [-st] [-sp] [-a] [-d] [-b] [-nf] [-o OPACITY] [-sh SHAPE] [-ov]-- COMMAND ARG1...
2017-08-31 03:22:24 +08:00
Options:
-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
2017-08-31 03:22:24 +08:00
-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)
-d - Daemonize
2017-08-31 03:22:24 +08:00
-debug - Enable debug messages
```
Example
2017-08-31 07:04:00 +08:00
`xwinwrap -g 400x400 -ni -s -nf -b -un -argb -sh circle -- gifview -w WID mygif.gif -a`
2017-08-31 03:22:24 +08:00
### Changes
* Added ability to make undecorated window
* Changed how desktop window is found
* Refactored window hints
----
Original source - https://launchpad.net/xwinwrap