Skip to content

zenangst/MouseDef

Repository files navigation

MouseDef

MouseDef

⚠️ This application is in its alpha stage, things may change drastically going forward. ⚠️

MouseDef is a Mac desktop utility that lets you move and resize windows by holding down modifier keys.

How it works

MouseDef uses the accessibility features in macOS in order to gain information about the cursor's current position and to resolve which window is underneath the cursor in addition to setting the new position and/or size as the mouse cursor moves.

Default keyboard shortcuts are:

  • fn + ⌘ : Move window
  • ⇧ + ⌘ : Resize window

Features

  • Customizable keyboard shortcut keys
  • Move windows when modifier keys are active
  • Resize windows when modifier keys are active
  • Quadrant resizing

Build and run the project

The project setup uses XcodeGen to generate an Xcode project. For more detailed instructions about Xcode, please visit their README.md

xcodegen
open -a "Xcode" MouseDef.xcodeproj

Supporting the project

If you want to support the development of this framework, you can do so by becoming a sponsor. ❤️

Contributing

If you want to contribute to making MouseDef the go to a window management tool, there a multiple ways of contributing.

  • When you find a bug, simply file an issue explaining the bug you are facing with detailed steps on how to reproduce it.
  • If you want to be next level awesome, you can always make a PR to the project with a fix for the issue and it will be reviewed when life allows.
  • If you simply enjoy the product and want to show your general appreciation, you can just give a small shoutout on Twitter.

Credit

A big shout out to Keith for open sourcing ModMove which was a huge inspiration when this application came into fruition.

About

🐭Move and resize windows by holding down modifier keys

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published