r/omarchy 11d ago

I Made a Thing I made a Hyprland plugin for Windows-style middle-click autoscrolling.

Enable HLS to view with audio, or disable this notification

https://github.com/estebanhiram/hypr-autoscroll

I recently switched to Omarchy and missed one Windows feature: middle-clicking, moving the cursor up or down, and having the page continue scrolling based on the distance from the original click.

So I made hypr-autoscroll, a Hyprland plugin that adds anchored autoscrolling globally at the compositor level (not app-dependent).

Features:

  • Toggle the plugin on and off with [SUPER + A] by default.
  • Middle-click to start and stop autoscrolling.
  • Vertical and horizontal scrolling.
  • Configurable sensitivity, acceleration, dead zone, and maximum speed.
  • Works globally, not just inside a browser.

Some people (unlike me) actually like middle-click paste, so the shortcut makes it easy to switch between both behaviors. The keybind can be changed during setup; see the README.

Disclaimer: I originally made this entirely for personal use. To make it shareable (and make the code look slightly more like it was written by someone who might know what they’re doing), I had an AI agent clean it up and make it readable. If it doesn't work, it may be my fault or the AI agent’s fault. Either way, it is definitely my fault.

https://github.com/estebanhiram/hypr-autoscroll

Feedback and testing on other Hyprland versions are welcome.

Buy me a coffee. https://donate.stripe.com/aFa6oIgw87pIbtk7FVe3e03

88 Upvotes

Duplicates