How amnweb/yasb works
YASB Reborn is a configurable Windows status bar: users launch it, configure bars and widgets, and receive a themed, live desktop interface. The main startup path loads configuration and styles, optionally opens first-run setup, then starts the bar manager. Its widget catalog spans system monitoring, controls, launchers, taskbar and window-manager integrations. A separate YASB Cloud application supports interactive and scheduled backup entry points. The graph follows sampled startup and manager code; widget and cloud internals are represented at subsystem level where only the tree or README establishes their scope.
Main entry points: main.py App entry · bar_manager.py Bar manager · app.py Cloud app · run_auto_backup.py Scheduled backup
Components 19
Application startup
- App entry
src/main.py - Configuration
src/core/config.py - First-run setup
src/core/ui/views/welcome.py
Bar and widgets
- Bar manager
src/core/bar_manager.py - Bar window
src/core/bar.py - Bar styling
src/core/bar_style.py - Widget registry
src/core/widgets/registry.py - Quick Launch
src/core/widgets/yasb/quick_launch.py - Control Center
src/core/widgets/yasb/control_center.py - Taskbar widget
src/core/widgets/yasb/taskbar.py - Weather widgets
src/core/widgets/yasb/weather.py
Windows integrations
- Event service
src/core/events/service.py - Windows APIs
src/core/utils/win32/utils.py
Cloud backup
- Cloud app
src/core/cloud/app.py - Cloud window
src/core/cloud/ui/window.py - Scheduled backup
src/core/cloud/run_auto_backup.py - Backup operations
src/core/cloud/operations.py
Other components
- User
- Cloud service
Connections 12
- User → App entry: launches
- App entry → Configuration: loads config
- App entry → First-run setup: starts setup
- App entry → Bar manager: starts bars
- Bar manager → Bar window: creates bars
- Bar manager → Bar styling: loads styles
- Bar manager → Widget registry: resolves widgets
- User → Cloud app: launches
- Cloud app → Cloud window: opens UI
- User → Scheduled backup: schedules backup
- Cloud app → Scheduled backup: dispatches task
- Backup operations → Cloud service: transfers backups