HypWorkCut - Hyprland Workspace Shortcut application (mouse driven)

I created a very small C++ QT based application to allow one to use the mouse to move between workspaces. This isn’t to move windows to other workspaces or anything like this. This is just to move from workspace 4 to 7, for example.

When you mouse to the bottom left corner of the screen (only tested on a single display pc (laptop)) a pop up shows that indicates which userspace you are in and what userspaces are being used. Then you can use the mouse to select one of them.

This is really kind of catered to how I use Hyprland. I just don’t have waybar showing most of the times. I normally use keyboard shortcut, but sometimes if I have my hand on the mouse it is just more convenient to change workspaces using the mouse.

This is how the pop up looks:

I originally tried doing this through XWayland but getting the mouse location only worked on the workspace that spawned the client. Moving to Wayland only and using hyprctl with mousepos was the ticket that worked.

There are a few things I want to add to it still: such as a way to exit the client. I am thinking something like a dock icon, that you could right click and exit. When I have that added I will put it up on my github account.

Very light weight (less than 200 lines of C++). It will require QT6 though.

Note: I get how anyone who doesn’t hide their waybar will find this application pointless. ;)