How super-cod/dynamic-island works
Windows Dynamic Bar is a Windows 10/11 desktop overlay that surfaces transient status and controls in a compact island. The principal workflow is application startup and service activation, followed by services detecting system or user activity, publishing events, and the bar presenting interactive cards; users also invoke search, timers, and controls through the bar or tray. The graph preserves documented feature branches and shows search’s internal helpers. Several service/UI implementations are unsampled, so their links rely on README statements or indexed references rather than inspected call sites.
Main entry points: App.xaml.cs Application startup · BarWindow.Search.cs Search interface · MediaService.cs Media sessions · BarWindow.xaml.cs Island bar
Components 28
Runtime and presentation
- Application startup
src/WindowsDynamicBar/App.xaml.cs - Island bar
src/WindowsDynamicBar/UI/BarWindow.xaml.cs - System tray
src/WindowsDynamicBar/UI/TrayController.cs - First-run guide
src/WindowsDynamicBar/UI/FirstRunWindow.xaml.cs
Search and launch
- Search interface
src/WindowsDynamicBar/UI/BarWindow.Search.cs - App discovery
src/WindowsDynamicBar/Core/Search/AppDiscoveryService.cs - App commands
src/WindowsDynamicBar/Core/Search/AppCommandRegistry.cs - Search ranking
src/WindowsDynamicBar/Core/Search/SearchRanker.cs - File search
src/WindowsDynamicBar/Core/Search/WindowsSearchService.cs - Math evaluation
src/WindowsDynamicBar/Core/Search/ExpressionEvaluator.cs - Window switcher
src/WindowsDynamicBar/Services/Search/WindowSwitcherService.cs
System features
- Timer commands
src/WindowsDynamicBar/Core/Timers/TimerCommand.cs - Timers and stopwatch
src/WindowsDynamicBar/Services/Timers/TimerServices.cs - Clipboard history
src/WindowsDynamicBar/Services/Clipboard/ClipboardHistoryService.cs - Quick toggles
src/WindowsDynamicBar/Services/Toggles/QuickToggleService.cs - System monitor
src/WindowsDynamicBar/Services/SystemMonitor/SystemMonitorService.cs - Telemetry charts
src/WindowsDynamicBar/Services/SystemMonitor/SystemTelemetryService.cs - Network telemetry
src/WindowsDynamicBar/Services/SystemMonitor/NetworkTelemetryService.cs - Weather
src/WindowsDynamicBar/Services/Weather/WeatherService.cs
Media and interaction
- Media sessions
src/WindowsDynamicBar/Services/Media/MediaService.cs - Synchronized lyrics
src/WindowsDynamicBar/Services/Media/LrcLibClient.cs - Volume brightness HUD
src/WindowsDynamicBar/Services/Audio/VolumeBrightnessServices.cs - System notifications
src/WindowsDynamicBar/Services/Notifications/NotificationServices.cs
Shared foundations
- Event routing
src/WindowsDynamicBar/Core/Events/EventBus.cs - Settings
src/WindowsDynamicBar/Core/Settings/SettingsModel.cs - Logging
src/WindowsDynamicBar/Core/Logging/Log.cs
Other components
- User
- Windows services
Connections 44
- User → Island bar: uses
README.md - User → System tray: opens controls
src/WindowsDynamicBar/UI/TrayController.cs - Application startup → Event routing: creates
src/WindowsDynamicBar/App.xaml.cs - Application startup → Settings: loads
src/WindowsDynamicBar/App.xaml.cs - Application startup → Island bar: starts
src/WindowsDynamicBar/App.xaml.cs - Application startup → Media sessions: starts
src/WindowsDynamicBar/App.xaml.cs - Application startup → System monitor: activates
src/WindowsDynamicBar/App.xaml.cs - Application startup → Quick toggles: starts
src/WindowsDynamicBar/App.xaml.cs - Application startup → Clipboard history: starts
src/WindowsDynamicBar/App.xaml.cs - Application startup → Timers and stopwatch: starts
src/WindowsDynamicBar/App.xaml.cs - Application startup → System notifications: starts
src/WindowsDynamicBar/App.xaml.cs - Application startup → Logging: logs startup
src/WindowsDynamicBar/App.xaml.cs - System tray → Island bar: opens
src/WindowsDynamicBar/UI/TrayController.cs - Island bar → Event routing: presents events
README.md - User → Search interface: invokes search
README.md - Search interface → App discovery: queries apps
src/WindowsDynamicBar/UI/BarWindow.Search.cs - Search interface → App commands: runs commands
src/WindowsDynamicBar/UI/BarWindow.Search.cs - Search interface → Search ranking: ranks results
src/WindowsDynamicBar/UI/BarWindow.Search.cs - Search interface → File search: searches files
src/WindowsDynamicBar/UI/BarWindow.Search.cs - Search interface → Math evaluation: evaluates math
src/WindowsDynamicBar/UI/BarWindow.Search.cs - Search interface → Window switcher: switches windows
src/WindowsDynamicBar/UI/BarWindow.Search.cs - App commands → App discovery: uses discovery
src/WindowsDynamicBar/Core/Search/AppCommandRegistry.cs - App discovery → Windows services: discovers applications
- File search → Windows services: queries file index
src/WindowsDynamicBar/Core/Search/WindowsSearchService.cs - Window switcher → Windows services: enumerates windows
src/WindowsDynamicBar/Services/Search/WindowSwitcherService.cs - User → Timer commands: enters timer command
README.md - Timer commands → Timers and stopwatch: starts timer
README.md - Clipboard history → Settings: reads settings
src/WindowsDynamicBar/Services/Clipboard/ClipboardHistoryService.cs - Clipboard history → Windows services: captures clipboard
README.md - Quick toggles → Windows services: changes system toggles
README.md - User → Quick toggles: controls toggles
README.md - System monitor → Telemetry charts: provides telemetry
- System monitor → Windows services: samples hardware
- User → Telemetry charts: views charts
README.md - Media sessions → Synchronized lyrics: fetches lyrics
README.md - Media sessions → Windows services: reads media sessions
src/WindowsDynamicBar/Services/Media/MediaService.cs - User → Media sessions: controls playback
README.md - Volume brightness HUD → Windows services: reads audio state
src/WindowsDynamicBar/Services/Audio/VolumeBrightnessServices.cs - User → Volume brightness HUD: changes volume
README.md - System notifications → Event routing: publishes events
src/WindowsDynamicBar/Services/Notifications/NotificationServices.cs - Network telemetry → Windows services: reads network state
- User → Network telemetry: views network status
README.md - Weather → Windows services: gets weather data
- User → First-run guide: completes setup
README.md