https://github.com/nylen/phoenix-config
My jasonm23/phoenix config
https://github.com/nylen/phoenix-config
Last synced: 10 days ago
JSON representation
My jasonm23/phoenix config
- Host: GitHub
- URL: https://github.com/nylen/phoenix-config
- Owner: nylen
- Created: 2015-04-08T21:19:00.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-06-24T15:35:13.000Z (about 11 years ago)
- Last Synced: 2025-02-22T07:18:18.440Z (over 1 year ago)
- Language: JavaScript
- Size: 133 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## What is this?
This is my config for [jasonm23/phoenix](https://github.com/jasonm23/phoenix),
a window manager for OS X that is scriptable using JavaScript.
## Installation
- Install Phoenix
- `git clone git@github.com:nylen/phoenix-config ~/phoenix`
- `cp -va ~/phoenix/.phoenix.js ~/`
## Features
- Use modifiers + arrow keys to move windows around in a grid and between
screens.
- If Thunderbolt screen is present:
- `Alt + Cmd` + arrows uses a 5-square grid (2 on top, 3 on bottom) on my
Thunderbolt display, and all of my Retina display.
- `Ctrl + Alt + Cmd` + arrows uses the left and right halves of my Thunderbolt
display, and all of my Retina display.
- If Thunderbolt screen is not present:
- `Alt + Cmd` + arrows uses moves windows to left/right/top/bottom half of my
Retina display.
- `Ctrl + Alt + Cmd` + `up` maximizes windows.
## Example
Here's how it works (if my Thunderbolt screen is present):

## Code
- Start in `main.js`
- `Grid.js` figures out how to move left/right/up/down in the grid
- **Unit tests** in `test/`!!