Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

Phoenix Configuration (deprecated)

TypeScript window manager config compiled with @vercel/ncc to single-file ~/.phoenix.js.

Key files

  • src/phoenix.ts: Main config with all keybindings
  • src/window-grid.ts: Window positioning system (GridPosition 0-1 based)
  • src/window-cache.ts: Window history tracking
  • src/screen.ts: Multi-display management
  • src/hyper.ts: Key binding helpers matching Karabiner's hyper key
  • src/utils/yabai.ts: Yabai integration helpers

Grid system

  • All window positions defined as GridPosition with x/y/w/h on 0-1 scale. Supports split layouts (left66, right50, etc.) and centered positions (full, big, med, sm, xs).
  • Dual Window splitting, resize other window to fit
    • CapsLock+q - Chained: 60%, 50%, 40%, 33%, 66%
    • CapsLock+e - Chained: 40%, 50%, 60%, 66%, 33%
    • CapsLock+w - Chained: full, centeredBig, centeredMedium, centeredSmall
  • CapsLock+tab - Move window to next screen