Skip to content

vaaghu/snapshotWallpaper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snapshot Wallpaper

This project is a simple tool that generates an image using JavaScript (utilizing a canvas) and sets it as the system wallpaper on Ubuntu 20.04. The process runs in a loop at regular intervals (default: every 15 minutes, configurable).

How It Works

The project consists of:

  • main.sh: This shell script triggers the generation of a PNG image using the JavaScript code and sets it as the system wallpaper. It's designed to loop and repeat this process at specified intervals.
  • index.js: Contains the code responsible for generating the image using the canvas.
  • Startup Configuration: The main.sh script can be configured to run at system startup by adding it to the startup applications list manually.

Prerequisites

To run this project, ensure the following:

  • Ubuntu 20.04 or a compatible system.
  • nodejs 18.17.1 or similar
  • npm 10.2.5 or similar

Getting Started

  1. Clone the Repository:
 git clone https://github.com/vaaghu/snapshot_wallpaper.git
 cd snapshot_wallpaper
  1. Install dependiences:
npm install
  1. Permissions:
chmod +x main.sh
  1. Run:
./main.sh

About

This project is a simple tool that generates an image using JavaScript (utilizing a canvas) and sets it as the system wallpaper on Ubuntu 20.04. The process runs in a loop at regular intervals (default: every 15 minutes, configurable).

Topics

Resources

Stars

Watchers

Forks

Contributors