I’m working on a randomizer and to set wallpapers, I’m calling the Plasma API. But I can’t figure out how to support video wallpapers. I have thought of these solutions:
-
Smart Video Wallpaper Reborn / mpvpaper - I checked out these plugins and thought of using one of these as a dependency, but, they already have some dependencies of their own and are not lightweight.
-
Converting videos to GIFs - I can first covert videos to GIFs and then call the Plasma API as it supports setting GIFs as wallpapers. But, this will reduce the quality of the GIF and I’m worried about performance issues as conversion is heavy on the CPU.
I wanted to know if there is an extremely minimal code example to set video wallpapers, so that I can set up the plugin myself or if there is an alternate way to set video wallpapers. I’ve tried reading the docs of both KDE and QML but I just can’t wrap my head around it. I appreciate any and all help. Thank you ![]()