hrvach / deskhop

Fast Desktop Switching Device
GNU General Public License v3.0
5.96k stars 166 forks source link

Switching at the top/bottom of a screen #87

Open crablab opened 2 months ago

crablab commented 2 months ago

Hey! :wave:

Thanks so much for open sourcing this - it's an awesome project.

Playing around and trying it out, it seems the only switches that are possible are going sideways between monitors?

I wondered if it was possible to add configuration options so you can switch at the top/bottom of a monitor. In my use case, I have a MacOS machine with two monitors - one main, and one to the left (vertical). I want to put a Linux laptop below the main Mac monitor and use Deskhop to switch between them but vertically (ie. on the bottom edge of the main monitor, and top edge of the laptop). I've attached an image of what I mean :)

Layout

(For clarity, the MacOS machine with internal display is not pictured - it sits with the lid closed to the side)

I don't think this is something currently supported?

Read through some of the related issues (eg. https://github.com/hrvach/deskhop/issues/3, https://github.com/hrvach/deskhop/issues/56) and the recent changes to address more monitor configurations. I don't think this has been addressed elsewhere, but please do redirect me if I've inadvertently missed something.

Also, if you've got any pointers I'd be happy to try and put together a PR to implement this!

hrvach commented 2 months ago

This would be possible, but is not currently supported ... adding another "switching axis" makes sense, I'll try to put this on the roadmap and you are, by all means, more than welcome to help! :)