xwaifu − draw image overlay
xwaifu [−fhrR] [−a ALPHA] [−g GEOMETRY] image_file
xwaifu draws an image overlay above all other windows, making it visible at all times. Useful to decorate your desktop or when you need to reference an image while working.
−a ALPHA
Set image translucency to ALPHA. ALPHA must be a number between 0 and 1; 0 meaning totally transparent and 1 meaning totally opaque. Default is totally opaque.
−f |
Hide window when hovered over. |
-g GEOMETRY
Set window position and size. GEOMETRY must be a string as described in XParseGeometry(3). If −r or −R is set, the width or height specified will be ignored. Default is a window with the same dimensions as the image located at the top left of the screen.
−h |
Print message with basic usage information. | ||
−r |
Set window width automatically. This option is only useful when used with −g. The width will be set so that the original aspect ratio of the image is maintained. | ||
−R |
Set window height automatically. This option is only useful when used with −g. The height will be set so that the original aspect ratio of the image is maintained. |
xwaifu some_image.png
Draw an opaque overlay with the same dimensions as some_image.png at the top left of the screen.
xwaifu -g 0x1080+100+200 -a 0.5 -rf some_image.jpg
Draw a half-translucent overlay at (100,200) with a height of 1080 pixels and set the width automatically so that the image isn’t distorted in any way. The overlay will disappear when the mouse is above it.
XParseGeometry(3)
Gabriel Ottoboni