electron-wallpaper

0.0.3 • Public • Published

electron-wallpaper

Node module that allows you to attach a window as wallpaper in Windows.

npm NpmVersion NpmLicense AppVeyor branch Travis (.org) branch

This module only supports Windows

electron-wallpaper allows you to insert a Window between the wallpaper and the desktop icons in Windows. User input interaction with the window is not possible, therefore this module is suitable if you wish to build a desktop dashboard application such as Rainmeter but use Electron and NodeJS.

Installation

Install electron-wallpaper by running:

$ npm install --save electron-wallpaper

Native binaries for win, mac and linux are prebuilt and downloaded when the module is installed.

Documentation

electron-wallpaper.attachWindow(window)

Kind: static method of electron-wallpaper
Summary: Attach a window as wallpaper
Access: public

Param Type Description
window BrowserWindow Window to attach as wallpaper

Example

const electronWallpaper = require('electron-wallpaper');
const currentWindow = require('electron').remote.getCurrentWindow();
 
electronWallpaper.attachWindow(currentWindow);

Example application

Example application gif

An example application is located in the /example/ dir, start it by running:

$ npm run example

Contribute

Feel free to contribute to this module.

Before submitting a PR, please make sure that the linter runs without any warning:

$ npm run lint

License

The project is licensed under the Apache 2.0 license.

Package Sidebar

Install

npm i electron-wallpaper

Weekly Downloads

1

Version

0.0.3

License

Apache-2.0

Unpacked Size

32.4 kB

Total Files

16

Last publish

Collaborators

  • robinwassen