Feature request: Allow renaming workspaces over ipc (i.e. via niri msg
)
#2594
Closed
justbuchanan
started this conversation in
Ideas
Replies: 2 comments 2 replies
-
I feel this could be done by using config includes for each workspace |
Beta Was this translation helpful? Give feedback.
1 reply
-
It is, in fact, exposed: https://docs.rs/niri-ipc/latest/niri_ipc/enum.Action.html#variant.SetWorkspaceName |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I saw #904, which added the ability to dynamically rename workspaces, but AFAICT this isn't exposed in the ipc interface. I think usage would look something like
niri msg 'rename workspace 1 to "my project"
.My goal is to write a script that automatically renames workspaces to include icons for each program contained in that workspace. I did a similar thing for i3 here: https://github.com/justbuchanan/i3scripts?tab=readme-ov-file#autorename_workspacespy.
If workspace renaming via
niri msg
is something you'd be interested in incorporating into the project, I'd be happy to try and implement it and send a PR.Beta Was this translation helpful? Give feedback.
All reactions