How crtmitchn/timepic works
Timepic is a small Windows wallpaper utility. On startup, index.js checks the configured date; when eligible, it composes an image and then calls changewp.js to set that image as wallpaper for applicable Windows users. The excerpts show the main calls and registry update, but do not establish how the program is launched or whether the named input image exists. The graph omits those uncertain relationships.
Main entry points: index.js Date check and image composition · changewp.js Per-user wallpaper update · config.json Date and wallpaper settings
Components 9
Date and image workflow
- Date and wallpaper settings
config.json - Date check and image composition
index.js - Date formatting
- Input image
- Generated wallpaper image
Windows wallpaper update
- Per-user wallpaper update
changewp.js - Windows registry
- Windows parameter refresh
Other components
- User
Connections 8
- User → Date check and image composition: starts
- Date and wallpaper settings → Date check and image composition: supplies settings
index.js - Date check and image composition → Date formatting: formats dates
index.js - Input image → Date check and image composition: reads image
index.js - Date check and image composition → Generated wallpaper image: writes image
index.js - Date check and image composition → Per-user wallpaper update: calls after date check
index.js - Per-user wallpaper update → Windows registry: lists and updates
changewp.js - Per-user wallpaper update → Windows parameter refresh: refreshes settings
changewp.js