Add horizontal wheel workspace bindings#6166
Open
gastonmira wants to merge 1 commit into
Open
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds default Hyprland bindings for horizontal mouse wheel events so users with horizontal scroll wheels can switch workspaces using the same Super + wheel modifier pattern already used for vertical scrolling.
Changes:
- Add
SUPER + mouse_rightto focus the next workspace (e+1) - Add
SUPER + mouse_leftto focus the previous workspace (e-1)
Tip
If you aren't ready for review, convert to a draft PR.
Click "Convert to draft" or run gh pr ready --undo.
Click "Ready for review" or run gh pr ready to reengage.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds default Hyprland bindings for horizontal mouse wheel events so mice with a horizontal scroll wheel can switch workspaces with the same modifier pattern Omarchy already uses for vertical wheel workspace navigation.
What changed
Omarchy already binds:
Super + mouse_downto move to the next workspaceSuper + mouse_upto move to the previous workspaceThis PR adds the matching horizontal wheel bindings:
Super + mouse_rightmoves to the next workspaceSuper + mouse_leftmoves to the previous workspaceHow to use it
On a mouse that emits horizontal wheel events, hold
Superand use the horizontal scroll wheel:This keeps plain horizontal scrolling available inside applications because the workspace action only triggers while
Superis held.Why
Some mice, such as Logitech MX Master-style devices, include a dedicated horizontal wheel. Hyprland supports these events as
mouse_leftandmouse_right, so this makes workspace navigation feel consistent across vertical and horizontal wheel input without adding any device-specific configuration.Validation
~/.config/hypr/bindings.confhyprctl reloadandhyprctl configerrorswith no config errorsSuper+ horizontal wheel left/right switches workspaces on a Logitech MX Master 3S-style mouse