Skip to content

Add horizontal wheel workspace bindings#6166

Open
gastonmira wants to merge 1 commit into
basecamp:devfrom
gastonmira:add-horizontal-wheel-workspace-binds
Open

Add horizontal wheel workspace bindings#6166
gastonmira wants to merge 1 commit into
basecamp:devfrom
gastonmira:add-horizontal-wheel-workspace-binds

Conversation

@gastonmira

@gastonmira gastonmira commented Jul 4, 2026

Copy link
Copy Markdown

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_down to move to the next workspace
  • Super + mouse_up to move to the previous workspace

This PR adds the matching horizontal wheel bindings:

  • Super + mouse_right moves to the next workspace
  • Super + mouse_left moves to the previous workspace

How to use it

On a mouse that emits horizontal wheel events, hold Super and use the horizontal scroll wheel:

  • scroll right to move forward through workspaces
  • scroll left to move backward through workspaces

This keeps plain horizontal scrolling available inside applications because the workspace action only triggers while Super is held.

Why

Some mice, such as Logitech MX Master-style devices, include a dedicated horizontal wheel. Hyprland supports these events as mouse_left and mouse_right, so this makes workspace navigation feel consistent across vertical and horizontal wheel input without adding any device-specific configuration.

Validation

  • Tested locally by adding the equivalent bindings to ~/.config/hypr/bindings.conf
  • Ran hyprctl reload and hyprctl configerrors with no config errors
  • Verified Super + horizontal wheel left/right switches workspaces on a Logitech MX Master 3S-style mouse

@gastonmira gastonmira marked this pull request as ready for review July 4, 2026 16:28
Copilot AI review requested due to automatic review settings July 4, 2026 16:28

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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_right to focus the next workspace (e+1)
  • Add SUPER + mouse_left to 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants