earthview-wallpapers

Node script to change the desktop wallpaper using https://earthview.withgoogle.com/ images.

Usage no npm install needed!

<script type="module">
  import earthviewWallpapers from 'https://cdn.skypack.dev/earthview-wallpapers';
</script>

README

earthview-wallpapers

Node script to change the desktop wallpaper using https://earthview.withgoogle.com/ images.

  • imageDir: path where to save the images.
  • interval: interval in milliseconds to change the desktop wallpaper. Defaults to 5 mintues.
node index.js --imageDir ~/Pictures/earthview-wallpapers --interval 100000

Use with pm2:

 pm2 start ./bin/cli.js --name earthview -- --imageDir ~/Pictures/earthview-wallpapers/ --interval 300000

 // or, if installed globally:
 pm2 start earthview-wallpapers --name earthview -- --imageDir ~/Pictures/earthview-wallpapers/ --interval 300000