Is your feature request related to a problem? Please describe.
Matugen has the limitation of only being able to generate palettes from static images. This makes sense, but for those of us who enjoy video wallpapers, it becomes impossible to use the .yaml configuration to generate color schemes and users have to use both commands separately.
Describe the solution you'd like
When wallr set is called and the accompanying file is a video file or GIF, use ffmpeg to extract the first frame of the file and save it as a PNG, store that new file in .cache/wallr (or in the same directory of the original file, I am not picky), and pass that new file to Matugen instead of the original file.
Describe alternatives you've considered
I'm uncertain to any other solution that could give the same result, but however you're able to implement such a feature would be awesome.
Additional context
While attempting to follow configuration, Matugen gave me the following warning when attempting to call wallr through it:
⚠ You should not define arguments inside of [config.wallpaper] anymore.
Use the command instead and use the {{ image }} keyword to set the wallpaper.
Nothing visibly broke, so I assume it's being deprecated on Matugen's side.
Is your feature request related to a problem? Please describe.
Matugen has the limitation of only being able to generate palettes from static images. This makes sense, but for those of us who enjoy video wallpapers, it becomes impossible to use the .yaml configuration to generate color schemes and users have to use both commands separately.
Describe the solution you'd like
When
wallr setis called and the accompanying file is a video file or GIF, useffmpegto extract the first frame of the file and save it as a PNG, store that new file in.cache/wallr(or in the same directory of the original file, I am not picky), and pass that new file to Matugen instead of the original file.Describe alternatives you've considered
I'm uncertain to any other solution that could give the same result, but however you're able to implement such a feature would be awesome.
Additional context
While attempting to follow configuration, Matugen gave me the following warning when attempting to call wallr through it:
Nothing visibly broke, so I assume it's being deprecated on Matugen's side.