[FEAT]: Drag mouse to screen edges to switch workspace #483

Closed
opened 2026-01-05 14:51:01 +01:00 by adam · 3 comments
Owner

Originally created by @rp1231 on GitHub (Oct 6, 2024).

Is your feature request related to a problem? Please describe.
Sometimes you want to drage a file from one workspace to another using only the mouse.
For eg. you want to drag a file from an explorer window in workspace 1 to the discord window( for sending it as an attachment) in workspace 2 using only the mouse.

Describe the solution you'd like
When you're "holding" a file and you move your mouse to the screen edges, the workspace should switch to the next adjacent workspace.

Originally created by @rp1231 on GitHub (Oct 6, 2024). **Is your feature request related to a problem? Please describe.** Sometimes you want to drage a file from one workspace to another using only the mouse. For eg. you want to drag a file from an explorer window in workspace 1 to the discord window( for sending it as an attachment) in workspace 2 using only the mouse. **Describe the solution you'd like** When you're "holding" a file and you move your mouse to the screen edges, the workspace should switch to the next adjacent workspace.
adam added the enhancement label 2026-01-05 14:51:01 +01:00
adam closed this issue 2026-01-05 14:51:01 +01:00
Author
Owner

@alex-ds13 commented on GitHub (Oct 7, 2024):

Why don't you use normal keyboard shortcuts as you normally would? If you are using whkd with default keybinds, let's say you are on workspace 1 and want to move a file to workspace 2, simply start dragging the file, press alt + 2 while holding the mouse button and it will change to workspace 2 where you can drag and drop wherever you'd like... I do this all the time without any problems.

@alex-ds13 commented on GitHub (Oct 7, 2024): Why don't you use normal keyboard shortcuts as you normally would? If you are using `whkd` with default keybinds, let's say you are on workspace 1 and want to move a file to workspace 2, simply start dragging the file, press `alt + 2` while holding the mouse button and it will change to workspace 2 where you can drag and drop wherever you'd like... I do this all the time without any problems.
Author
Owner

@rp1231 commented on GitHub (Oct 7, 2024):

Yep I'm aware that you can perform this function with the keyboard but this is for the times when you can just use the mouse.

@rp1231 commented on GitHub (Oct 7, 2024): Yep I'm aware that you can perform this function with the keyboard but this is for the times when you can just use the mouse.
Author
Owner

@LGUG2Z commented on GitHub (Jan 23, 2025):

I don't think that this feature is worth the complexity it would introduce into the codebase. This would be better explored through a separate process which integrates with komorebi via socket messages.

@LGUG2Z commented on GitHub (Jan 23, 2025): I don't think that this feature is worth the complexity it would introduce into the codebase. This would be better explored through a separate process which integrates with komorebi via socket messages.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/komorebi#483