[FEAT]: Scroll Through Workspaces With Alt + Scroll or zyxkey + Scroll Using WHKDRC #180

Closed
opened 2026-01-05 14:48:46 +01:00 by adam · 2 comments
Owner

Originally created by @TooSpooky on GitHub (Feb 20, 2023).

Hello,

Apologies if this is already possible, I'm very unfamiliar with this type of configuration.

If possible it would be great if on top of having alt + 1 or alt + 2 to switch between workspaces you could also press alt or another modifier and scroll through the workspaces, scroll down to go to 2, 3 ,4 ,5, etc and scroll up to go back to the previous.

Could potentially make switching feel more fluid in a more mouse focused workflow.

Thanks for your time and take care!

Originally created by @TooSpooky on GitHub (Feb 20, 2023). Hello, Apologies if this is already possible, I'm very unfamiliar with this type of configuration. If possible it would be great if on top of having alt + 1 or alt + 2 to switch between workspaces you could also press alt or another modifier and scroll through the workspaces, scroll down to go to 2, 3 ,4 ,5, etc and scroll up to go back to the previous. Could potentially make switching feel more fluid in a more mouse focused workflow. Thanks for your time and take care!
adam added the enhancement label 2026-01-05 14:48:46 +01:00
adam closed this issue 2026-01-05 14:48:46 +01:00
Author
Owner

@urob commented on GitHub (Nov 30, 2023):

FYI, this is pretty easy if you use AHK to (partially) define your shortcuts:

!WheelUp::Runwait % "komorebic.exe cycle-workspace previous",, Hide  ; Alt + Scroll up cycles to previous workspace
!WheelDown::Runwait % "komorebic.exe cycle-workspace next",, Hide    ; Alt + Scroll down cycles to next workspace

EDIT:
Depending on your mouse-settings, you may find that your scroll speed is so fast that you trigger multiple workspace changes. If this happens, you can also add a bit of debounce. Here's an example for a debounce timer that I use to change workspaces when scrolling over the taskbar (without modifier).

@urob commented on GitHub (Nov 30, 2023): FYI, this is pretty easy if you use AHK to (partially) define your shortcuts: ```autohotkey !WheelUp::Runwait % "komorebic.exe cycle-workspace previous",, Hide ; Alt + Scroll up cycles to previous workspace !WheelDown::Runwait % "komorebic.exe cycle-workspace next",, Hide ; Alt + Scroll down cycles to next workspace ``` EDIT: Depending on your mouse-settings, you may find that your scroll speed is so fast that you trigger multiple workspace changes. If this happens, you can also add a bit of debounce. Here's an example for a [debounce timer](https://github.com/urob/komotray/blob/e5edc1950222222b3747a4a5e1baa59d0b6f5a19/komotray.ahk#L151-L164) that I use to change workspaces when scrolling over the taskbar (without modifier).
Author
Owner

@LGUG2Z commented on GitHub (May 12, 2024):

This should be done with AHK as urob suggested, as whkd doesn't support scroll events.

@LGUG2Z commented on GitHub (May 12, 2024): This should be done with AHK as urob suggested, as `whkd` doesn't support scroll events.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/komorebi#180