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

1.0.8 • 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

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, {
      transparent: true,
      forwardKeyboardInput: true,
      forwardMouseInput: true,
    });
    
    detach(mainWindow);
    
    // if the window closed before detach, you can call refresh
    refresh();
  • Examples


The End (💘)

Readme

Keywords

Package Sidebar

Install

npm i electron-as-wallpaper

Weekly Downloads

16

Version

1.0.8

License

mit

Unpacked Size

17.7 kB

Total Files

7

Last publish

Collaborators

  • meslzy