feat: enhanced WiFi popup with macOS-style controls#103
Open
bottlebrushes wants to merge 9 commits intomocki-toki:mainfrom
Open
feat: enhanced WiFi popup with macOS-style controls#103bottlebrushes wants to merge 9 commits intomocki-toki:mainfrom
bottlebrushes wants to merge 9 commits intomocki-toki:mainfrom
Conversation
…aying Replace aggressive 0.3s AppleScript polling with DistributedNotificationCenter observers for instant media updates. Changes: - Listen to Spotify (`com.spotify.client.PlaybackStateChanged`) and Apple Music (`com.apple.Music.playerInfo`) notifications - Only poll every 1s for position updates (progress bar) when playing - Fetch track info on-demand when notifications fire - Add initial fetch on startup to populate current state This significantly reduces CPU usage and provides instant UI updates when track changes or playback state changes. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add WeatherWidget displaying current temperature and weather icon - Use Open-Meteo free API (no API key required) - Dynamic SF Symbols based on weather conditions (sun, clouds, rain, snow, etc.) - Location-based weather with CoreLocation - Click to open macOS Weather dropdown - Add SystemUIHelper for triggering system UI elements - Add required entitlements for location and network access 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Replace polling-based space monitoring with event-driven updates: - Add SpaceEvent enum and EventBasedSpacesProvider protocol - Implement Unix socket listener in YabaiProvider - Update SpacesViewModel to handle space events reactively Yabai signals now send events to /tmp/barik-yabai.sock for instant updates. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add WeatherPopup matching Barik's dark theme style - Show location name, current temp, condition, high/low - Display hourly forecast with icons and precipitation % - Add "Open Weather" button to launch macOS Weather app - Extend WeatherManager with hourly data and location name via geocoding 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Run initial space fetch asynchronously in startObserving() - Run refreshSpaces() on background queue - Dispatch results back to main thread for UI updates - Fixes SwiftUI AttributeGraph crash from blocking main thread 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add `click-action` config option to TimeWidget - Supports "calendar" (default) or "notification-center" - When set to "notification-center", clicking time opens macOS Notification Center Usage in config.toml: ```toml [widgets.default.time] click-action = "notification-center" ``` 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add `click-action` config option to TimeWidget ("calendar" or "notification-center")
- Request Accessibility permission before opening Notification Center
- System prompts user to grant permission if not already allowed
Usage:
```toml
[widgets.default.time]
click-action = "notification-center"
```
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Changed from SOCK_DGRAM to SOCK_STREAM for nc -U compatibility - Added listen() and accept() for stream socket handling - Fixes event-based space subscription not receiving messages 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add WiFi toggle switch at the top - Show connected network in "Known Network" section - Add expandable "Other Networks" section with available networks - Add network scanning functionality - Add "Wi-Fi Settings..." button to open System Preferences - Fixed width to 280px for consistent appearance 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Enhanced the WiFi/Network popup with macOS-style controls and network management features.
Features
Test plan
🤖 Generated with Claude Code