desktop-wallpaper
v1.0.8
Published
Using the COM API of Windows to configure wallpaper settings.
Downloads
18
Maintainers
Readme
Desktop Wallpaper (✨)
using the COM API of Windows to configure wallpaper settings. Require Win8+.
Features (⭐)
- set slide show
Getting Started (✅)
Installation (⏬)
npm install desktop-wallpaper --save
Usage (⚡)
import {setWallpaper, getWallpaper, setPosition, getPosition, getBackgroundColor, setBackgroundColor} from "desktop-wallpaper"; // or const {setWallpaper, getWallpaper, setPosition, getPosition, getBackgroundColor, setBackgroundColor} = require("desktop-wallpaper"); setWallpaper(0, "../../assets/demo.jpg") console.log(getWallpaper(0)) setPosition(3) console.log(getPosition()) setBackgroundColor(255,255,255) console.log(getBackgroundColor())