dgurkaynak / Penc

Trackpad-oriented window manager for macOS
https://deniz.co/penc/
MIT License
1.12k stars 25 forks source link

From half to full #4

Closed TheKnarf closed 3 years ago

TheKnarf commented 6 years ago

There doesn't seem to be any fast way to go to an app taking the whole screen instead of half.

dgurkaynak commented 6 years ago

Hey @TheKnarf, you can use pinch (zoom in) gesture. Eventually the size of window will be full screen.

iNdioNicarao commented 6 years ago

Thanks, I was able to accomplish what you mention above however, i do not think this is what the intended action was. I can't speak for TheKnarf, but I was looking for a way to activate fullscreen mode.

TheKnarf commented 6 years ago

While I do realize that that's possible I was hoping for a Fast swipe-version of it.

dgurkaynak commented 6 years ago

Do you guys have any gesture suggestion?

iNdioNicarao commented 6 years ago

I like his idea too. Maybe like a middle out, from the center with two fingers out to the edge? From middle to top and bottom seems like the easiest way to accomplish this. Not sure if this gesture is already used...

TheKnarf commented 6 years ago

I was thinking maybe we could have a three finger gesture.

dgurkaynak commented 6 years ago

As far as I know I cannot catch three finger gestures.

edwardgalligan commented 6 years ago

As far as I know I cannot catch three finger gestures.

I'm not experienced with Cocoa, but I think three-finger gestures are defined in the API as "swipe" events

e.g.

...
override func swipe(with event: NSEvent) {
...

As someone who finds the magnify functionality quite slow and finicky, I'd be very happy with no magnify support at all, and just a simple maximize swipe instead.

This also fills the void of the unreliable Option+click green maximize button (which works in some apps, but not others—notably Safari, iTunes, Finder). There are utilities to get this button working, but it seems overkill to install an app for such a small fix. Penc would be the perfect place to implement a fast, functional maximize.

No worries if it's impossible though (I may be reading the API spec. wrongly).

dgurkaynak commented 3 years ago

I have added double tap to fullscreen feature in new Penc 1.0.0 release. Let me know if you guys need anything else.