Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add %{app-exec-path} and %{app-bundle-path} interpolation variable to --format flag in query commands #592

Open
nikitabobko opened this issue Oct 14, 2024 · 1 comment
Labels

Comments

@nikitabobko
Copy link
Owner

Query commands to add it to:

  • list-apps
  • list-windows
$ aerospace list-apps --format '%{app-exec-path}'
/Applications/Google Chrome.app/Contents/MacOS/Google Chrome
/System/Library/CoreServices/Finder.app/Contents/MacOS/Finder

$ aerospace list-apps --format '%{app-bundle-path}'
/Applications/Google Chrome.app
/System/Library/CoreServices/Finder.app

Use case: Get app icon for spotlight-like applications https:/raycast/extensions/pull/14908/files#diff-bb1e762a64d9a33559e2e0481c4980cea9f69d54fa3dcc1fd9e5fac95e0bb5e5R21

@nikitabobko
Copy link
Owner Author

Related: #359

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant