Shadow Engine stands for Shaders On Wallpaper Engine
and it renders a realtime glsl shader on your Linux or Windows desktop. It is compatible with most shaders from glslsandbox.com. Additionally you can put multiple shaders, images, videos and interactive scripts on top of each other to create an amazing looking desktop.
To support different desktop environments and operating systems there are different render modes one can select from:
background (Linux only):
The Shadow window is being set to the background using a typehint
. This might not be supported by your window manager (e.g. i3), but works on most desktop environments (Gnome, Xfce, Awesome, KDE, ...)
root (Linux only):
Shadow will render the shader on the X11 root window. This mode has a lot of cpu usage and wont work in most desktop environments. This is only advised if the background
mode does not work for you. Use this mode for window managers like i3wm.
window: This mode might be useful for shader developers. Shadow will create a normal window displaying the effect.
win10 (Windows only): This mode spawns a window behind the desktop icons. This is the default mode for Windows. This mode has only been tested on Windows 10 and might therefore not work on newer or older versions.
$ git clone https://github.com/danielfvm/shadow.git
$ cd shadow
$ poetry install
$ poetry run shadow
After the installation, you can use the program by writing shadow
in the terminal. For more information look at the Usage
and Examples
section.
usage: shadow [-h] [-q QUALITY] [-s SPEED] [-o OPACITY] [-m MODE] [-d DISPLAY] [-f FRAMELIMIT] [-qm QUALITYMODE] [-width WIDTH] [-height HEIGHT]
options:
-h, --help show this help message and exit
-q QUALITY, --quality QUALITY
Changes quality level of the shader, default 1.
-s SPEED, --speed SPEED
Changes animation speed, default 1.
-o OPACITY, --opacity OPACITY
Sets background window transparency, default 1.
-m MODE, --mode MODE Changes rendering mode. modes: root, window, background, win10.
-d DISPLAY, --display DISPLAY
Selects a monitor
-f FRAMELIMIT, --framelimit FRAMELIMIT
Set the maximum framerate limit, default 60
-qm QUALITYMODE, --qualitymode QUALITYMODE
Set it to pixelize or smoothen the image at lower quality. default: smooth; modes: pixel, smooth
-width WIDTH, --width WIDTH
Set window width
-height HEIGHT, --height HEIGHT
Set window height
shadow example/frag0.glsl -f 30 -m window
shadow example/frag0.glsl -q 0.1 -qm pixel
shadow path/to/my/image.png example/expandedlife.glsl
root
mode on i3wm--quality
option to save resources / gain more performanceREADME.md
file to show examples with gifs