Move and resize windows with easy and you don't need to know a lot of commands. Customise position preset the way you like!
Just press ⌘ + A
and choose the position
WindowManager display different preset when the monitor height * 0.7 larger then width:
Press A
again to display shortcuts
Additional commands
When Menu opened
←, ↑, →, ↓
- moving across the menu with arrowenter
- choose selected position
After installing BetterTouchTool, you can import/export configurations from the Manage Presets button.
-
Download preset: WindowManager.bttpreset and WindowManager.html
-
Change HTML source to a local path eg
/Users/$USER/Downloads/WindowManager.html
- Clone the repo
- Install dependencies
yarn install
- Generate HTML page
yarn build
-
Change HTML source to locally generated file in
<root>/dist/WindowManager.html
Run a local dev server to preview changes:
yarn start
Create .env
, where you can define next properties
// src/vite-env.d.ts
// display shortcuts
readonly VITE_DISPLAY_SHORTCUTS: "true" | "false";
// different display layout styles
readonly VITE_DISPLAY_LAYOUT:
| "horizontal"
| "vertical"
| "size32"
| "advanced";
// left side is a default value
// value changing the letters used for shortcuts, right is based on the right keyboard part
readonly VITE_KEYBOARD_SIDE: "left" | "right";
for example
// .env
VITE_DISPLAY_SHORTCUTS = true
VITE_DISPLAY_STYLE = size32
VITE_KEYBOARD_SIDE = right
src/types.ts
define custom presetsrc/style.css
customize position icon
How to change the size Update css variable in style.css
:root {
--size: 50px;
--padding: 3px;
}
Run yarn build
to generate a new window manager.
Licensed under the WTFPL license.