dgurkaynak / Penc

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

Suggestion: make Penc operate with a mouse #5

Closed telmofcosta closed 3 years ago

telmofcosta commented 5 years ago

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.
dgurkaynak commented 5 years ago

Hmm, the main target of this app is trackpad usage as you mentioned. Supporting standard mouses would be nice feature, but not in the near future.

telmofcosta commented 5 years ago

Tbh, I don't use snap that much. And I tried it with the trackpad but it didn't feel very natural.

BetterTouchTool approach is not bad: when dragging, when the mouse pointer reaches an area near the corner (or top/bottom/left/right) of the viewport, it resizes the window and snaps it to a side/corner.

I didn't suggest this in the first place because this behavior is completely different from what Penc is doing now and my suggestion was supposed to be a small "fix".

What I really love in Penc (and why I'm using it with my mouse only to move windows) is the double-press with the modifier key: a very simple idea, pratical and it doesn't interfere with any shortcut I have. 💯

shiny commented 5 years ago

Using scroll wheel to resize sounds really cool

yup yup. @dgurkaynak By the way, do you accept donation, or translation for this cool project?

dkarbayev commented 5 years ago

@dgurkaynak what if snapping to halves was made with arrow keys (much like Windows does it), so double press Cmd and then arrow key(s)?

dgurkaynak commented 3 years ago

Hey guys, I have finally managed to ship Penc 1.0. It brings the support for mouse & keyboard.

Keyboard

While Penc is activated (double press cmd key + hold it):

Mouse support

While Penc is activated (double press cmd key + hold it):

So closing the issue, let me know if you guys need anything else.