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

Some Values Missing from Query System #55

Closed
FelixKratz opened this issue Sep 25, 2021 · 30 comments
Closed

Some Values Missing from Query System #55

FelixKratz opened this issue Sep 25, 2021 · 30 comments
Labels
Milestone

Comments

@FelixKratz
Copy link
Owner

FelixKratz commented Sep 25, 2021

Please post the values missing from the query system below.

@FelixKratz

This comment has been minimized.

@FelixKratz

This comment has been minimized.

@es183923

This comment was marked as outdated.

@es183923

This comment was marked as outdated.

@es183923

This comment has been minimized.

@es183923

This comment has been minimized.

@es183923

This comment has been minimized.

@es183923

This comment has been minimized.

@es183923

This comment was marked as outdated.

@es183923

This comment has been minimized.

@FelixKratz

This comment was marked as outdated.

@FelixKratz

This comment was marked as outdated.

@FelixKratz

This comment has been minimized.

@FelixKratz

This comment has been minimized.

@FelixKratz

This comment has been minimized.

@FelixKratz

This comment has been minimized.

@es183923

This comment was marked as outdated.

@es183923

This comment has been minimized.

@FelixKratz

This comment has been minimized.

@es183923

This comment has been minimized.

@FelixKratz

This comment has been minimized.

@es183923

This comment has been minimized.

@FelixKratz

This comment has been minimized.

@FelixKratz FelixKratz added the enhancement New feature or request label Oct 3, 2021
@FelixKratz FelixKratz changed the title Query Item Properties Some Values Missing from Query System Oct 12, 2021
@FelixKratz

This comment has been minimized.

@FelixKratz
Copy link
Owner Author

Popup Menus Missing

@FelixKratz

This comment was marked as outdated.

@FelixKratz

This comment was marked as outdated.

@FelixKratz

This comment was marked as outdated.

@FelixKratz
Copy link
Owner Author

The querying logic will be completely rewritten soon, this will be a minor breaking change for everyone relying on the exact JSON structure of the query output. I will change the structure to reflect the classification from the documentation and I will try to include every property such that a full serialization of the bars configuration is possible.

@FelixKratz FelixKratz added this to the v3.0.0 milestone Jul 2, 2022
@FelixKratz
Copy link
Owner Author

FelixKratz commented Jul 19, 2022

I believe all documented item properties (except popup properties) can now be queried via:

sketchybar --query <name>

and read out via:

sketchybar --query <name> | jq '.<property>'

the icon, label and image property need .value appended to them because of the ambiguity that would arise otherwise.

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

2 participants