[FEATURE] Mp4 as wallpaper
Is there any option to apply .mp4 or .mkv file as wallpaper? I've tried to add a proper filetypes to a Wallpaper.qml, but that obviously didn't work as planned.
The issue is that to play a video, you need a different QML component (Video instead of Image). This means that if I want to support both, it will be a lot more complicated (because of the transitions). I may add support for this in the future (when I get time), but for now you'll have to create your own fork and replace the code in the QML sorry.
you mean wallpaper.qml, i haven't found any image.qml in files
you mean wallpaper.qml, i haven't found any image.qml in files
The file containing the code for the wallpaper is modules/background/Wallpaper.qml yes, but I was talking about the QML components. I recommend you just go to the file modules/background/Background.qml and replace the Wallpaper component with a Video from Qt6Multimedia, manually passing the path to the wallpaper to the component. Additionally, if using a video wallpaper, the dynamic scheme generation will not work
Would it be possible to instead integrate swww into the wallpaper backend so that we could select .gif and .webp files as wallpapers and have transitions between them when switching through wallpapers in the launcher?