ekalinin / SpaceName

MacOS space id/name indicator in the menu bar
MIT License
26 stars 5 forks source link

Missing Spaces while using Multiple Monitors #8

Open Vision-zz opened 6 months ago

Vision-zz commented 6 months ago

I have a dual display setup where my primary display is the Mac's display and the secondary is my External monitor. The Spaces only show the spaces from either one of the displays. If i disconnect the external monitor then this works perfectly. Otherwise it just shows the spaces from either one of the displays.

ekalinin commented 6 months ago

Hey,

Please, try a new version:

Vision-zz commented 5 months ago

@ekalinin This works perfectly! Also a suggestion, I am not sure if this is possible since I am new to lua and hammerspoon. But showing just the desktops in that monitor would be much better. Just a suggestion that could be considered if it is programatically possible. This is great work though! Love it.

ekalinin commented 5 months ago

But showing just the desktops in that monitor would be much better. Just a suggestion that could be considered if it is programatically possible.

Good point, thanks! Will investigate whether it is possible to implement it with hammerspoon.

This is great work though! Love it.

Thanks!

maximneumann commented 1 month ago

I have two monitors as well and observe this behavior: if "Multi Monitor Mode" is enabled, then using the SpaceName menu I can switch to any desktop, but in the menu it will show only desktop names from only one of the desktops, and I can set the name only for the desktop which is shown in the menu.

And this is determined at the start of Hammerspoon, maybe randomly. Basically I have to restart Hammerspoon a few times in order to show the desktop from the second monitor so that I can rename the desktops there. (which is a workable, but not ideal solution)