jonaburg / picom

A lightweight compositor for X11 (previously a compton fork)
Other
956 stars 99 forks source link

Gif backgrounds, gifview/paperview #39

Open petterssonjonas opened 3 years ago

petterssonjonas commented 3 years ago

This is just a feature request or perhaps a question whether it is even possible;

There is this thing going around the community that you may have noticed, gifs as wallpapers. The two projects iv'e come across that can do this are paperview and gifsicle.

However they both use the root window and cannot be run together with a compositor. What im wondering is if it would be possible to integrate this functionality into picom, or allow these programs to run together somehow?

Fair warning, paperview requires converting gif to bitmaps and so it uses massive amounts of ram. Gifsicle can run straight gifs and uses little ram. Seems more stable as well.

Barbaross93 commented 3 years ago

With gifsicle's gifview, it's possible using xwinwrap. Unfoirtunately I no longer have the command I used, but I do recall it being a bit complicated. There's a good example/starting command on xwinwrap's readme for using gifview.