add custom space naming with multi-monitor support#18
Conversation
Allow users to assign custom names to each space via a new Spaces tab in preferences. The OSD popup and menu bar submenu display custom names when set, falling back to the space number. Multi-monitor support: spaces are grouped by display in the settings UI, with names keyed by display ID so each monitor has independent space names. New C APIs enumerate all active displays and their space counts. OSD dynamically adjusts font size and window width for longer names, wrapping text across multiple lines when needed. Space names are cleared when spaces are deleted and the settings tab polls for changes every 2 seconds.
- Names now persist correctly when spaces are deleted/reordered - Previously, closing desktop 1 (named 'a') with desktops 1,2,3 named a,b,c would leave 1,2 named a,b instead of b,c - Expose stable space IDs (id64) from CGSCopyManagedDisplaySpaces - Add iss_get_cursor_display_space_ids() C function - Add spaceIDs array to ISSAllDisplaysInfo struct - SpaceNameStore now keys by uint64 space ID, not displayID+index
|
Hi, I can see why this feature would be useful, but is there a strong case to incorporate it as part of this app instead of using something like SpaceName alongside this? I would expect to want a separate menubar icon with this feature anyway. Everything added to the app is something that needs to be maintained as new macOS versions are released |
|
Well, I did not know that SpaceName existed until you mentioned it. If you feel this is out of scope feel free to close the PR. |
|
I would also like support for multiple monitors. Currently, my setup is 5 spaces on my left monitor 5 on my right. I used to have space 1-5 as my left monitor and 6-10 as my right. That way I could automatically switch to a new space on my second monitor. Currently, both monitors maintain their own 1-5 space so I have to switch to my second monitor and then jump to the space. This project has fixed my longest running issue with using mac in the workplace. Thank you! Happy to write my own, separate PR for that. |
|
Ah, that makes sense. I think that would be a separate feature unless I'm mistaken. Definitely worth making an issue to track it. |
|
created pr here! |
Adds the ability to rename the pop up for spaces.
Dynamically reloads spaces as they are added and removed.
Supports multiple monitors.
Related: #11
Screen.Recording.2026-03-25.at.8.48.43.PM.720p.mov