Skip to content

NSTechBytes/NewDay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NewDay Widget

A comprehensive desktop widget suite for Novadesk that provides date, time, weather, and recycle bin monitoring capabilities.

NewDay Widget Preview

Features

  • Date Window - Displays current date with month and day name
  • Time Window - Shows current time with day progress indicator
  • Weather Window - Real-time weather information using Open-Meteo API
    • Current temperature
    • Humidity levels
    • Wind speed
    • Weather conditions
  • Recycle Bin Window - Monitor recycle bin status
    • Item count
    • Total size
    • Quick access to open recycle bin
  • Settings Window - Centralized control panel for all widgets
  • System Tray Integration - Quick access menu to toggle widgets
  • Customizable Coordinates - Set latitude/longitude for accurate weather data

Installation

  1. Place the NewDay folder in your Novadesk widgets directory
  2. Ensure Novadesk is installed and running
  3. The widget will automatically load based on configuration

Configuration

All settings are stored in config.json:

{
  "dateWindowScale": 1,
  "timeWindowScale": 1,
  "weatherWindowScale": 1,
  "recycleBinWindowScale": 1,
  "dateWindowActive": true,
  "timeWindowActive": true,
  "weatherWindowActive": true,
  "recycleBinWindowActive": true,
  "settingsWindowActive": false,
  "latitude": 52.52,
  "longitude": 13.41
}

Configuration Options

  • Window Scale - UI scaling factor for each window (0.75 to 1.25)
  • Window Active - Toggle visibility of each widget window
  • Latitude/Longitude - Geographic coordinates for weather data

Usage

System Tray Menu

Right-click or double-click the tray icon to:

  • Toggle individual widget windows on/off
  • Open/close the settings window
  • Exit the widget

Settings Window

Double-click the tray icon to open settings where you can:

  • Enable/disable widget windows
  • Configure weather coordinates (latitude/longitude)
  • View current widget states

Scroll to Scale

Scroll up/down on widget windows (except settings) to:

  • Increase scale (up to 1.25x)
  • Decrease scale (down to 0.75x)

Weather API

This widget uses the Open-Meteo API for weather data:

  • Free and open-source
  • No API key required
  • Updates every 10 minutes
  • URL: https://api.open-meteo.com/v1/forecast

File Structure

NewDay/
├── assets/
│   └── icon.ico              # Tray icon
├── ui/
│   ├── dateWindow.ui.js      # Date display UI
│   ├── timeWindow.ui.js      # Time display UI
│   ├── weatherWindow.ui.js   # Weather display UI
│   ├── recycleBinWindow.ui.js # Recycle bin UI
│   └── settingsWindow.ui.js  # Settings panel UI
├── config.json               # Configuration file
├── index.js                  # Main widget logic
├── utils.js                  # Utility functions
├── meta.json                 # Widget metadata
└── README.md                 # This file

Dependencies

  • Novadesk - Desktop widget engine
  • InputBox.dll - Custom input overlay addon
  • Open-Meteo API - Weather data provider

Technical Details

IPC Communication

The widget uses Novadesk's IPC system for:

  • Main process ↔ UI communication
  • State synchronization between tray and settings
  • Real-time data updates

Update Intervals

  • Date/Time: Every 1 second
  • Weather: Every 10 minutes (600 seconds)
  • Recycle Bin: Every 30 seconds

Weather Codes

Open-Meteo WMO weather interpretation codes are used to display weather conditions with appropriate descriptions.

License

See LICENSE file for details.

Support

For issues or questions, please refer to the Novadesk documentation or community forums.

About

A comprehensive desktop widget suite for Novadesk that provides date, time, weather, and recycle bin monitoring capabilities.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors