Skip to content

leoFitz1024/electron-as-wallpaper

Repository files navigation

Electron As Wallpaper (✨)

set your electron window as wallpaper behind desktop icons


license stars forks issues



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


The End (💘)