electron-as-wallpaper
v2.0.2
Published
set your electron window as wallpaper behind desktop icons
Downloads
178
Readme
Electron As Wallpaper (✨)
set your electron window as wallpaper behind desktop icons
Features (⭐)
- [x] set electron window as wallpaper
- [x] support transparent window
- [x] support mouse forwarding
- [x] support keyboard forwarding
Requirements (⚙️)
- Window OS
- Window 11 (Tested)
- Window 10 (Not Tested)
- Window 8 (Not Tested)
- Window 7 (Not Tested)
- Rust
- Node.js
- Electron
- Electron Rebuild
Installation (⏬)
npm install [email protected] --save
How to use (🌠)
import {attach, detach, reset} from "electron-as-wallpaper";
// attach the window to the desktop wallpaper
attach(mainWindow, {
transparent: true,
forwardKeyboardInput: true,
forwardMouseInput: true,
});
// detach the window from the desktop wallpaper
detach(mainWindow);
// reset the wallpaper (restore the original wallpaper)
reset();