Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cross Fade to another image - possible? #61

Closed
Iono-9 opened this issue Oct 30, 2019 · 1 comment
Closed

Cross Fade to another image - possible? #61

Iono-9 opened this issue Oct 30, 2019 · 1 comment

Comments

@Iono-9
Copy link

Iono-9 commented Oct 30, 2019

When invoking, for example,

wallpaper.set('unicorn.jpg');

is it possible to make it so the wallpaper crossfade to another image, not just instantly change?

@sindresorhus
Copy link
Owner

You didn't mention what OS you need it for. On macOS, it's possible to do it by placing a window at the desktop level filled with the desktop wallpaper, replace the wallpaper, and fade out the window. This creates the cross-fade effect. For other OSes, I have no idea. This is outside the scope of this package regardless.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants