ejbills / DockDoor

Window peeking for macOS
MIT License
295 stars 8 forks source link

Enhancement suggestion: support trackpad gestures for window management #47

Open 0n0mat0p03ia opened 3 days ago

0n0mat0p03ia commented 3 days ago

Enhancement Suggestion: as a user, I'd like to maximize, minimize, and close window previews using trackpad gestures.

Comment: essentially, what Swish does. Or, if possible, update DockDoor so that Swish actions work on DockDoor window previews (at least for dock peek, not sure how well this would work for Ctrl+Tab).

And also: Better Touch Tool supports an almost infinite number of trackpad gestures. Haven't tested whether they work with DockDoor, but it would be awesome if they did.

ShlomoCode commented 3 days ago

If I understand correctly, you want to trigger opening/closing the preview by swiping up/down on the app icon in the dock instead of hovering? it's a good idea :+1:

0n0mat0p03ia commented 3 days ago

If I understand correctly, you want to trigger opening/closing the preview by swiping up/down on the app icon in the dock instead of hovering? it's a good idea 👍

What I'm suggesting is supporting trackpad gestures when hovering over a window's preview image. For example:

I took these gestures/actions from Swish. Swish supports these gestures when hovering over a dock icon. (It also supports these gestures when hovering over a window and holding a modifier key). It's a great app, worth trying if you haven't before.

Swish and Better Touch Tool gestures work on most apps and their windows in macOS. But they don't work on DockDoor window previews (actually, I didn't test BTT).

If it's possible to update DockDoor so that its preview windows look like "standard" windows to other apps, then people can use Swish, BTT, or another tool to take actions on those windows. But if it's not possible or easy to do, then implementing the gestures above would still be nice.