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

[feature request] add field scratchpad_state to i3.Node #13

Closed
slashfoo opened this issue Jul 21, 2021 · 2 comments
Closed

[feature request] add field scratchpad_state to i3.Node #13

slashfoo opened this issue Jul 21, 2021 · 2 comments

Comments

@slashfoo
Copy link

Currently the command i3-msg -t get_tree provides the field scratchpad_state that is useful in identifying windows that are currently shown but still considered to be in the scratchpad. This field is not present/unmarshalled into i3.Node.

I believe adding this line to the Node struct definition would suffice.

ScratchpadState    string           `json:"scratchpad_state"`
@stapelberg
Copy link
Member

This package only implements what is documented (and hence stable) in the ipc docs, for the GET_TREE request specifically the reply is https://i3wm.org/docs/ipc.html#_tree_reply

Can you file an issue over at https://github.com/i3/i3/issues to get scratchpad_state documented first please?

@slashfoo
Copy link
Author

I have filed a new feature request as requested. It can be found here: i3/i3#4465

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

No branches or pull requests

2 participants