GithubHelp home page GithubHelp logo

dgurkaynak / penc Goto Github PK

View Code? Open in Web Editor NEW
1.1K 21.0 25.0 10.43 MB

Trackpad-oriented window manager for macOS

Home Page: https://deniz.co/penc/

License: MIT License

Swift 72.42% Ruby 0.42% HTML 5.28% JavaScript 1.05% Objective-C 19.15% Shell 0.59% C 1.09%
macos trackpad window-manager window-management

penc's People

Contributors

ahti avatar alichtman avatar apm1467 avatar dependabot[bot] avatar dgurkaynak avatar idschepe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

penc's Issues

Activates on single tab and hold instead of double tab

Hi,
the problem is, that Penc get activated when I single click and hold the key. This is extremely bad, because so Penc gets activated if you e.g. try to select text with your keyboard and hold the key (in my case OPTION to select whole words) to do so.
I have moved the activation key to OPTION, because double click on CMD starts my clipboard history from Alfred. But I discovered this behavior on all keys.

Different Sized Multi-monitor support

I'm using the monitor layout shown. When snapping the second of the larger monitors it snaps to where the bottom of the smallest monitor is as though it is trying to make room for the dock, even though there isn't one. This is only happening on one monitor and the other two perform as expected. I have a mp4 of the video I can upload if there's sufficient interest.

penc_bug

Double-press detection threshold

You are currently only able to increase the threshold of the double-press speed. The problem is that by increasing the threshold, you can still double-press super quickly and the action will active. It would be very helpful if you could set a 'zone' of activation where too slow or too fast won't activate it.

I have the 'hold duration to activate' set to 0ms as I like it to activate instantly once I call it but this results in any type of unintended 'jitter' action on the key to activate the Penc interface. If you could set the previously mentioned 'zone', one could decide to have Penc activate between 200ms-300ms where anything faster than 200ms and anything slower than 300ms would not be registered as a Penc call. Hopefully this explanation makes sense.

Penc_Threshold_Concept

Command key does not work

I have Penc freshly installed and granted admin rights. But the command button does not do anything. Windows do not turn grey. I am using a new MacBook with High Sierra (latest patch status).

Suggestion: Change the shape of the window

Thank you for this awesome app! Love it.

A suggestion:

  • Drag with two fingers to move the window
  • Drag with three fingers to change the shape of the window

For example, drag with three fingers down to make the window taller, drag towards right to make the window wider.

Or better (maybe just for me):

  • Drag with three fingers to move the window
  • Drag with two fingers to change the shape of the window

Three-finger drag has been the gesture for moving windows since Mac OS X Lion. Maybe it's just me, but drag with three fingers to move a window, while drag with two fingers to scroll (change the window shape) feels more natural to me.

Anyway thank you again for making this.

Is auto tiling in scope for Penc?

Hey, I really enjoy using Penc on my M1 Air, does exactly what I expected and is very reliable.

Ever since I used i3 on linux for a while, I can no longer work productively without something like it.

On macos, I went from Amethyst to Yabai because of better default layouts.

I think it could be really great if Penc had such functionality because it has a perfect user experience. Which is what is the before mentioned are lacking.

I am imagining a mode where swiping a new window into a corner that is already occupied splits both into halves, etc.

Tldr; Might Penc some day support Window Tiling?

Pinching doesn't work

I checked my Settings and the zooming is enabled (also I can pinch to zoom in my browser), but still nothing happens.

(macOS 11.4 on a 13" MBP (Late 2020))

Suggestion: Option: Disable Penc when Device Lid is Closed

Hi @dgurkaynak,

A suggestion assuming that Penc is able to see local API on whether the Host device's lid is open or not.

Usecase: I use my Macbook in both open and closed postures throughout the day. I like to have the Penc auto-launch but not actively running when the clam/lid is closed and I accidentally double tap the CMD keys.

Feel free to reject the suggestion. Other than that, thank you for this awesome app!

No issues running on Mojave 10.14.1 Beta / Macbook Pro 13" 2017

Regards,

Timothy

Allow quaters

So if I swipe to the left and then down I can "fold" the app into a quarter.

When you make a window fullscreen it ends up under another window

If you use Penc to make one window split and then later make another window fullscreen. The fullscreen window ends up under the split screen window and you have to leave penc to dismiss the split screen window.

Ideally fullscreen window would end up on top or there is way to dismiss the split screen window

Allow to set-up thirds of a screen

Loving the app. Touchpad is under-utilized and is a great input device.

Would be great if there was an option to occupy thirds of a screen horizontally.

Not sure how that would work, though.

From half to full

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

1.0 not working on Catalina

I recently upgraded to Penc 1.0.0(1536) and upon relaunch the app no longer works. I can activate penc using the normal hotkey (double press & hold cmd) however the entire screen turns grey and gestures do not control any individual windows. I

I've tried restarting my laptop and uninstalling / reinstalling (via brew).

A fresh download of 0.41 from brew works, but once I upgrade to 1.0.0 it breaks again.

This is on a MBPi7 running 10.15.7.

Please let me know if there's any other info I can provide. Happy to capture logs or anything like that.

Suggestion: fullscreen app monitor switch gesture

What i really would love to do is if i have 2 fullscreen mode apps activated on the same monitor, a gesture to 'fling' the app from the current monitor to the other one and keep the fullscreen mode view.

Currently I have to disable fullscreen, mouse to other monitor, swipe to a non-fullscreen desktop, drag the app to the other monitor, enable fullscreen.

Not opening at all

Recently installed penc on my m1 mac air, nothing happens when I'm opening the app... help

Pinch resizing should be smarter when it's based on alignment

Assume a window has been aligned to 1/2 height of the window to the bottom left corner.
Assume I pinch resize using my thumb and index finger.
Pinch resizing this should not stretch the bottom part of the window, just the top part regardless if my thumb is moving or not.

It works to some degree, as long as my thumb isn't moving, but as soon as it does, it messes up the window alignment and size.

Suggestion: expand in a direction if one finger kept still

Setup
Given a double tap
And two fingers are applied to track pad

Give only one finger moves horazontaly
Then expand the window in the direction of the moved finger

as oppsed to..
Given both fingers move horazontally
Then expand the window in both directions

Suggestion: Keyboard arrow support

Sometimes it is inconvenient to use the trackpad. For example if using external keyboard and mouse. Would be nice if it would also support resizing and docking with arrows for the currently active window.

Usage example: Doubletap command + arrow left -> docks currently active window to left

I personally use drag up for fullscreen and drag down for 1/3 width and height. With this feature this would result in the same behavior with arrow up and down.

Also possible to use diagonal gestures with for example first pressing left key and then press up key. Then if you instead want to use up-gesture, press up key again. Or if you press left key but regret, press right key to go back to initial state. Then press right key again to dock to right. Makes sense?

Anyways just spewing out my thoughts here.

Better UX for multi-window arranger

I love the new UX but I think it could do with some refinement ๐Ÿ˜€

Firstly if there could be a fade-in / face-out animation so it doesn't just pop in and out. Finally if the boxes could have some sort of a screenshot of the application (Perhaps blurred just like on iPad so avoid seeing the distortion of the image) or the title of the window just like in Mission Control it would make it easier to understand what specific window you are moving

Possibility to overlay new window size

Hi,

would it be possible to overlay the new window size dimension (s. screenshot=. It would be useful to more or less accurately scale a window for screen sharing purposes.

image

Make gesture effect current window mouse is over

At the moment Penc manipulates the currently focused application. If its possible I would love for it to determine which window the mouse is over and manipulate it sort of how Mac OS already does with scrolling.

Suggestion: make Penc operate with a mouse

Suggestion: make Penc operate with a mouse.

I understand that Penc is Trackpad-oriented, so feel free to reject this, but moving already works with a normal mouse when dragging with the left button.

Resizing could be done:

  1. using the scroll wheel; or
  2. dragging with the middle button, resizing from the right bottom corner, emulating the feature I most miss on Mac OS since I stopped use Linux Gnome.

Disable Penc on fullscreen-spaces

Penc has no functionality (or I haven't found out yet) on spaces where only one windows is displayed in full-screen (green button on top left corner). The problem is, that with blur enabled, you can't see anything on the screen after you hit the Penc activation button. Is it possible to not blur screens/windows where only one full-size app is?

Update fails

When pressing the update option the following error is displayed:

image

I installed the app using brew today.
Besides that I am really enjoying this product! Keep going :)

Applications turn black upon activation

Hi there, I recently downloaded this app through the penc.app website, which was version 0.4.1 which I upgraded to the most recent version through the brew command. I have been struggling however as I have found that anytime I activate the application using the default command x 2 input, all applications turn black outside of their icon and the name of the application. No settings changes I could do seemed to make any impact on this issue. I am using a MacBook Pro M1 (2020) while running MacOS 13.0 (22A380). Included are two screenshots demonstrating what I mean. Functionality of moving the apps around is no problem, only visual impact.

Screenshot 2022-10-30 at 4 08 08 pm

Screenshot 2022-10-30 at 4 08 18 pm

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.