The source code is available on GitHub.
One major advantage of GNOME compared to typical window manager setups is that you don’t have to worry about which numbered workspace you’re on.
Although this may seem insignificant at first, not having to think about workspace numbers is one less thing to worry about when solving hard problems.
Instead of pressing a key to go to a specific workspace, such as
<Super>4 to go to workspace 4, you instead switch workspaces by going forward and backwards.
- When going left, this means “the next occupied workspace on the left” or stay on the current one if there’s no other workspace before
- When going right, this means “the next occupied workspace on the right” or create an empty one if we’re at the end of the list
Note that the same behavior will also work for workflows with vertical workspaces and up/down motions.
The most common way to use hyprnome is to edit your
hyprland.conf with the keybinds you want to use for workspace switching, like so:
SUPER, 1, exec, hyprnome --previous
SUPER, 2, exec, hyprnome
SUPER_SHIFT, 1, exec, hyprnome --previous --move
SUPER_SHIFT, 2, exec, hyprnome --move
Personally I like creating workspaces in either direction, however it’s possible to add the
--no-empty-before flag to mimic the behavior of GNOME.
If you create workspaces in either direction, make sure to start Hyprland at a high-numbered workspace so you don’t have to worry about reaching workspace 1:
hyprctl dispatch workspace
This ensures that an empty workspace will always be created in the left direction if no other occupied workspaces exist.