Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nylen/phoenix-config

My jasonm23/phoenix config
https://github.com/nylen/phoenix-config

Last synced: 6 days ago
JSON representation

My jasonm23/phoenix config

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 [email protected]: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):

![Screen recording](http://nylen.tv/phoenix-grids-small.gif)

## Code

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