spacebar icon indicating copy to clipboard operation
spacebar copied to clipboard

Switching spaces

Open 24unix opened this issue 3 years ago • 7 comments

Displaying the spaces works great, would it be possible to make the numbers react on mouse clicks for switching spaces?

24unix avatar Sep 07 '20 17:09 24unix

Hey @24unix 👋 Sorry for the delayed response on this. It seems I wasn't getting notifications for a while and I've been otherwise occupied.

Nice idea for a feature! I'll see what I can do :) PRs are always welcome, though!

cmacrae avatar Nov 18 '20 16:11 cmacrae

I agree with @24unix - a native solution to make the numbers clickable would be great. As a workaround just a question (i'm not so familiar with MacOS): Is there something for the Mac display server like xdotools for X11?

emninger avatar Nov 28 '20 12:11 emninger

I find it is handy to just use default key provided by the system to switch workspaces. I mean by "CTR+n", you can switch to workspace n.

junwei-wang avatar Nov 28 '20 16:11 junwei-wang

Would also like to mouse click to switch to a higher number and spaces I don't access very often. I got 8 different spaces just having icons so it would sometimes be handy to use the mouse.

How could this be implemented? Via the Accessibility API or something else. I guess yabai is doing this when running "yabai -m space --focus 4" for example.

Then the other issue is to make spacebar react to mouse clicks.

nilsi avatar Jan 23 '21 21:01 nilsi

@junwei-wang ctrl-x doesn't play nicely with multi displays setup. You could add identical shortcuts to different displays, but are limited to 18 spaces. Bad with three displays. I found a workaround with Total-Spaces, it combines spaces to displays, but still the option to click on a number in spacebar would be fine. Actually, Total Spaces offers that in a menuitem, but spacebar is more present.

24unix avatar Jan 24 '21 23:01 24unix

@junwei-wang ctrl-x doesn't play nicely with multi displays setup. You could add identical shortcuts to different displays, but are limited to 18 spaces. Bad with three displays. I found a workaround with Total-Spaces, it combines spaces to displays, but still the option to click on a number in spacebar would be fine. Actually, Total Spaces offers that in a menuitem, but spacebar is more present.

Make sense.

junwei-wang avatar Jan 25 '21 14:01 junwei-wang

Any updates on this one? Since TotalSpaces doesn't work under Monterey my current setup is quite broken :(

24unix avatar Aug 21 '22 13:08 24unix