1.0.6 • Published 5 days ago
@xchencode/electron-as-wallpaper v1.0.6
Electron As Wallpaper (✨)
set your electron window as wallpaper behind desktop icons
try the app
Features (⭐)
- set electron window as wallpaper
- support transparent window
- support mouse forwarding
- support keyboard forwarding
Getting Started (✅)
Installation (⏬)
- `npm install electron-as-wallpaper --save`
How to use (🌠)
import {attach, detach, refresh} from "electron-as-wallpaper"; // or const {attach, detach, refresh} = require("electron-as-wallpaper"); attach(mainWindow); detach(mainWindow); // if the window closed before detach, you can call refresh refresh();
Examples
- [transparent](test/transparent/index.js) - [input forwarding](test/input-forwarding/index.js) - [screen size changed](test/screen-size-changed/index.js)