Skip to content

Conversation

@Perodactyl
Copy link

No description provided.

@HigherOrderLogic
Copy link
Contributor

Why tho? This struct is never (de)serialized.

@Perodactyl
Copy link
Author

When users of niri (like me) are writing ipc scripts, it's nice to be able to directly serialize states as JSON so you could, for example, pass them to eww or waybar.

@HigherOrderLogic
Copy link
Contributor

My point is, this struct is never serialized, so adding this trait there is useless nonetheless.

Feel free to correct me tho.

@markstos
Copy link
Contributor

markstos commented Dec 7, 2025

@Perodactyl Could you provide an example script to show how this is useful?

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.

3 participants