danth / stylix

System-wide colorscheming and typography for NixOS
https://stylix.danth.me/
MIT License
1.16k stars 143 forks source link

animations as backgrounds #54

Closed SomeGuyNamedMay closed 1 year ago

SomeGuyNamedMay commented 1 year ago

i cant quite get to it yet due to mid terms for the next few weeks, but i wanna open an issue to get opinions on implementation.

dwarfmaster commented 1 year ago

I'm not sure how we should go about that. I was thinking of refactoring the wallpaper module, so maybe it could include facilities for using an animation as background (for example using mpv on x11), but stylix.image would still need to be set to a static picture. Maybe we could add an example in the FAQ of how to automatically set stylix.image to the first frame of an animation using mpv ?

SomeGuyNamedMay commented 1 year ago

im a fan of what was brought up before in the discussions tab, ie making a separate option, stylix.animation and generating `stylix.image' from that and using it as a fallback.