electron-as-wallpaper
TypeScript icon, indicating that this package has built-in type declarations

2.0.3 • Public • Published

Electron As Wallpaper (✨)

set your electron window as wallpaper behind desktop icons


license stars forks issues


Features (⭐)

  • [x] set electron window as wallpaper
  • [x] support transparent window
  • [x] support mouse forwarding
  • [x] support keyboard forwarding

Requirements (⚙️)

Installation (⏬)

npm install electron-as-wallpaper --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();

Examples


The End (💘)

Readme

Keywords

Package Sidebar

Install

npm i electron-as-wallpaper

Weekly Downloads

14

Version

2.0.3

License

mit

Unpacked Size

29.7 kB

Total Files

14

Last publish

Collaborators

  • meslzy