Skip to content
New issue

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

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

Already on GitHub? # to your account

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

Closed
nikitabobko opened this issue Oct 14, 2024 · 2 comments
Labels
feature-proposal A well defined feature proposal good-first-issue Easy to fix issues. Good for newcomers triaged The issue makes sense to maintainers

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://github.com/raycast/extensions/pull/14908/files#diff-bb1e762a64d9a33559e2e0481c4980cea9f69d54fa3dcc1fd9e5fac95e0bb5e5R21

@nikitabobko nikitabobko added feature-proposal A well defined feature proposal good-first-issue Easy to fix issues. Good for newcomers labels Oct 14, 2024
@nikitabobko
Copy link
Owner Author

Related: #359

@nikitabobko nikitabobko added the triaged The issue makes sense to maintainers label Oct 27, 2024
@nikitabobko
Copy link
Owner Author

Released in 0.16.0-Beta

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
feature-proposal A well defined feature proposal good-first-issue Easy to fix issues. Good for newcomers triaged The issue makes sense to maintainers
Projects
None yet
Development

No branches or pull requests

1 participant