Skip to content

Conversation

@oisanjaya
Copy link

This PR enable workspace reference by ID for operations on niri msg action.

My idea was using id: prefix to refer workspace by its id instead of index, this is done in niri-ipc/src/lib.rs from_str trait implementation, that is checks user arguments; if it is integer number then assume user refer to index (to maintain backward compatibility of current operations); if it is prefixed by id: then assume user refering workspace's id; else assume name reference.

This PR also change niri msg workspaces command output to include workspace's id.

@oisanjaya oisanjaya marked this pull request as draft November 20, 2025 11:55
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.

1 participant