Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Add a keyboard shortcut to change to different screens #260

Open
markmandel opened this issue Feb 8, 2025 · 2 comments
Open

Feature: Add a keyboard shortcut to change to different screens #260

markmandel opened this issue Feb 8, 2025 · 2 comments

Comments

@markmandel
Copy link

Reading around, there are requests for this buried in other requests (#26 (comment), #139 (comment)) - but since I would really like this feature, I'm pulling it out into it's own issue so it doesn't get lost.

Basically, i want what Synergy does (and input-leap, etc): https://symless.com/synergy/help/add-a-hotkey-or-keyboard-shortcut-to-change-to-different-screens

Basically because I tend to do most navigation by keyboard, so switching to mouse just to move my mouse up the page to switch screens is cumbersome for me. Would be great to be able to press my own custom key combo, and have it switch to a different monitor.

@markmandel
Copy link
Author

Fun workaround I figured I'd share! I'm using hyprland, but this just requires a keybinding and wlctrl.'

bind = CTRL ALT, Up, exec, wlrctl pointer move 0 -10000
bind = CTRL ALT, Down, exec, wlrctl pointer move 0 10000

Since the edge transition fires when the mouse goes to the edge, you can move it there with wlrctl.

It's not perfect, since your mouse is now at the top of your screen - but if you are using keyboard navigation anyway, it may not matter much to you.

@feschber
Copy link
Owner

Yeah, this is something I definitely want to do at some point. The input capture portal currently does not allow for this directly so it would have to be a hack similar to what you are describing above (though it would hopefully work better when integrated with lan-mouse directly).

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

No branches or pull requests

2 participants