Skip to content

fabiospampinato/phoenix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

147 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Phoenix

My Phoenix setup.

Installation

This configuration uses a remap of the Caps Lock key to something more useful, the Hyper key : basically just Ctrl + Alt + Cmd combined into one key. If you prefer you may skip the remap step while you try the configuration.

  1. Install Phoenix.
  2. Install Hyperkey to remap Caps lock to Hyper.
  3. Execute mkdir ~/.config.
  4. Execute cd ~/.config.
  5. Execute git clone git@github.com:fabiospampinato/phoenix.git.
  6. Restart Phoenix.
  7. Enjoy!

Customization

To disable specific features, just comment out their correspondent require call in phoenix.js.

To tweak some numbers, simply edit constants.js.

Changing the specific shortcut used to trigger an action is pretty trivial.

Don't forget to make a PR if you fixed something or implemented something cool :)

Shortcuts

Sides

Sides

Shortcut Description
⇪ + ↑ Move window to the top side
⇪ + → Move window to the right side
⇪ + ↓ Move window to the bottom side
⇪ + ← Move window to the left side

Corners

Corners

Shortcut Description
⇪ + Q Move window to the top-left corner
⇪ + W Move window to the top-right corner
⇪ + S Move window to the bottom-right corner
⇪ + A Move window to the bottom-left corner

Halves

Halves

Shortcut Description
⇪ + [ Move window to the 1st half
⇪ + ] Move window to the 2nd half

Thirds

Thirds

Shortcut Description
⇪ + 1 Move window to the 1st column
⇪ + 2 Move window to the 2nd column
⇪ + 3 Move window to the 3rd column

Quarters

Quarters

Shortcut Description
⇪ + Shift + [ Move window to the 1st quarter
⇪ + Shift + ] Move window to the 2nd quarter
⇪ + Shift + ' Move window to the 3rd quarter
⇪ + Shift + \ Move window to the 4th quarter

Sixths

Sixths

Shortcut Description
⇪ + Shift + Q Move window to the 1st sixth
⇪ + Shift + W Move window to the 2nd sixth
⇪ + Shift + E Move window to the 3rd sixth
⇪ + Shift + A Move window to the 4th sixth
⇪ + Shift + S Move window to the 5th sixth
⇪ + Shift + D Move window to the 6th sixth

Center

Center

Shortcut Description
⇪ + X Center the window
⇪ + Shift + X Center the window and set its dimensions to 1280x800

Grow

Grow

Shortcut Description
⇪ + Shift + ↑ Grow window from the top
⇪ + Shift + → Grow window from the right
⇪ + Shift + ↓ Grow window from the bottom
⇪ + Shift + ← Grow window from the left

Expand

Expand

Shortcut Description
⇪ + Space Toggle window expansion to fill the space
⇪ + Shift + Space Toggle window expansion to fullscreen

Focus or Open

Focus or Open

Shortcut Description
⇪ + ` Focus to or open Notable
⇪ + C Focus to or open Chrome
⇪ + D Focus to or open Chrome Developer Tools
⇪ + V Focus to or open Visual Studio Code
⇪ + F Focus to or open Finder
⇪ + T Focus to or open Terminal
⇪ + G Focus to or open GitTower

Spaces

Spaces

In order to make this work you have to open System Preferences -> Keyboard -> Shortcuts -> Mission Control and bind all Switch to Desktop [NUMBER] actions to Ctrl + Alt + Cmd + Shift + [NUMBER]. There are actions up to the 9th desktop, but they may not be shown to you if you have less then 9 desktops currently open.

Note: If you don't need wrapping support, you should just remap the Move left/right a space actions under System Preferences -> Keyboard -> Shortcuts -> Mission Control.

Shortcut Description
⇪ + Tab Switch to the next space
⇪ + Shift + Tab Switch to the previous space

Applications Icons

Applications Icons

Shortcut Description
⇪ + I For each window in the current space show an icon indicating its position
⇪ + Shift + I Display the current date and time

Reload Phoenix

Reload Phoenix

Shortcut Description
⇪ + Shift + P Reload Phoenix

Pause/Resume Application

Pause/Resume Application

This can be used for saving battery, pausing single-player games etc.

Shortcut Description
⇪ + F8 Pause or resume the current application

Quit Application

Quit Application

Did you ever close 3+ Chrome windows instead of a single tab by mistake? Fear no more! Now in order to quit an app you have to trigger ⌘Q twice in a short timeframe. Stop wasting 10$ for something so basic.

Shortcut Description
⌘Q ⌘Q Quit application

Additional Shortcuts

Shortcut Description
§ Remapped to `
⇪ + = Trigger the native color picker
⇪ + F6 Hide or show desktop icons

Mouse

Snapping

Snapping

Drag a window to an edge or corner to snap it into place.

License

MIT © Fabio Spampinato

About

My Phoenix setup.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

  •  

Packages

 
 
 

Contributors