patriciogonzalezvivo / glslViewer

Console-based GLSL Sandbox for 2D/3D shaders
BSD 3-Clause "New" or "Revised" License
4.62k stars 351 forks source link

Feature Request: wallpaper mode #234

Open MasterDevX opened 3 years ago

MasterDevX commented 3 years ago

It would be really cool if glslViewer had an option to stick itself to the X11's root window, so any shader could be used as wallpaper. I have already experimented with xwinwrap, but no luck.

glava is the project that has this feature implemented, so you can take a look on it and maybe figure out some useful things.

Note, that it can draw over current wallpaper, and it looks really fine. So it makes sense glslViewer to have alpha channel instead of black background in wallpaper mode, so you can apply shaders to your current wallpaper.

patriciogonzalezvivo commented 3 years ago

Nice call! I will take a look!