Skip to content

feat: add windowTitle to opener ProcessInfo#507

Open
totsamyroma wants to merge 1 commit intojohnste:mainfrom
totsamyroma:feature/opener-window-title
Open

feat: add windowTitle to opener ProcessInfo#507
totsamyroma wants to merge 1 commit intojohnste:mainfrom
totsamyroma:feature/opener-window-title

Conversation

@totsamyroma
Copy link

Use the macOS Accessibility API to read the focused window title of the application that opened a URL. This allows configs to distinguish between different workspaces in apps like Slack, where all workspaces share the same process.

The new optional windowTitle field is available on the opener object in match functions:

match: (url, { opener }) => {
return opener?.windowTitle?.includes('MyWorkspace');
}

Requires Accessibility permission for Finicky in System Settings.

Use the macOS Accessibility API to read the focused window title
of the application that opened a URL. This allows configs to
distinguish between different workspaces in apps like Slack,
where all workspaces share the same process.

The new optional `windowTitle` field is available on the opener
object in match functions:

  match: (url, { opener }) => {
    return opener?.windowTitle?.includes('MyWorkspace');
  }

Requires Accessibility permission for Finicky in System Settings.

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@totsamyroma
Copy link
Author

Hi @johnste 👋

These changes are inspired by #158
The feature uses macOS accessibility to retrieve the opener window title.

Use case: use different browser profiles based on slack workspaces

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant