Conversation
There was a problem hiding this comment.
Pull request overview
Adds a thaw:// custom URL scheme and an AppDelegate URL event handler so external tools (e.g., Raycast) can trigger existing Thaw actions, plus a small state tweak to keep “application menus hidden” from being automatically undone after a manual toggle.
Changes:
- Register
thawURL scheme inInfo.plist. - Add
kAEGetURLAppleEvent handling inAppDelegateto dispatchthaw://…routes toHotkeyAction/ settings. - Track “manual” application-menu hiding to prevent automatic section-state logic from re-showing menus.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| Thaw/Resources/Info.plist | Registers the thaw URL scheme for external invocation. |
| Thaw/Main/AppDelegate.swift | Installs an AppleEvent URL handler and dispatches supported thaw:// routes to actions. |
| Thaw/MenuBar/MenuBarManager.swift | Adds a manual-hide flag so app-menu hiding isn’t automatically reverted after explicit toggles. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
|
LGTM. Since I do not use Raycast I cannot test this myself, will be in the next beta so people can test with your Raycast extension. I let you know beforehand. |
…ailed hide (#254) * fix: only set isManuallyHidingApplicationMenus after successful hide --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: stonerl <2091312+stonerl@users.noreply.github.com>
|
@stonerl Tested on a different Mac and everything looks fine, just to make sure nothing breaks and everything works as intended. Safe to release for beta users. |

What does this PR do?
Adds a
thaw://URL scheme to enable external applications to triggerThaw actions programmatically. This is the foundation for a Raycast
extension and any future third-party integrations.
PR Type
Does this PR introduce a breaking change?
What is the current behavior?
Thaw has no external IPC surface, no URL scheme, no AppleScript
dictionary, no way for external tools to trigger actions.
What is the new behavior?
Registers
thaw://in Info.plist and implements a URL handler inAppDelegate that dispatches to existing HotkeyAction calls:
thaw://toggle-hidden— toggle the hidden sectionthaw://toggle-always-hidden— toggle the always-hidden sectionthaw://search— open the search panelthaw://toggle-thawbar— toggle the Thawbar on the active displaythaw://toggle-application-menus— toggle application menusthaw://open-settings— open the settings windowPR Checklist
Notes for reviewers
Please verify the
enableIceBaraction in HotkeyAction actually togglesstate — if it only enables, the URL should be renamed or the action
swapped for a proper toggle.