/electron-as-wallpaper

set your electron window as wallpaper behind desktop icons

Primary LanguageRustMIT LicenseMIT

Electron As Wallpaper (✨)

set your electron window as wallpaper behind desktop icons


license stars forks issues


issues

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


The End (💘)