@@ -1,7 +1,15 @@ |
| 1 | +import type { Metadata } from "next"; |
| 1 | 2 | import Link from "next/link"; |
| 2 | 3 | import Terminal from "@/components/Terminal"; |
| 3 | 4 | import ComparisonTable from "@/components/ComparisonTable"; |
| 4 | 5 | |
| 6 | +export const metadata: Metadata = { |
| 7 | + title: "tarmac — tiling window manager for macOS", |
| 8 | + description: |
| 9 | + "tarmac is a tiling window manager for macOS written in Rust. Automatic BSP window layouts, keyboard-driven navigation, workspaces, scratchpads, IPC, and Lua configuration. A yabai and AeroSpace alternative.", |
| 10 | + alternates: { canonical: "/" }, |
| 11 | +}; |
| 12 | + |
| 5 | 13 | function FeatureCard({ |
| 6 | 14 | title, |
| 7 | 15 | description, |
@@ -65,8 +73,9 @@ export default function Home() { |
| 65 | 73 | </p> |
| 66 | 74 | <div className="clear-both" /> |
| 67 | 75 | <p className="text-lg text-surface-600 dark:text-surface-400 mt-4 max-w-xl"> |
| 68 | | - A keyboard-driven tiling window manager for macOS, written in Rust. |
| 69 | | - BSP layouts, Lua configuration, IPC, and window borders via ers. |
| 76 | + A tiling window manager for macOS. Arrange windows automatically |
| 77 | + with BSP layouts, navigate with the keyboard, and configure |
| 78 | + everything in Lua. |
| 70 | 79 | </p> |
| 71 | 80 | </div> |
| 72 | 81 | |
@@ -76,8 +85,52 @@ export default function Home() { |
| 76 | 85 | </div> |
| 77 | 86 | </section> |
| 78 | 87 | |
| 88 | + {/* What is tarmac — SEO content block */} |
| 89 | + <section className="max-w-4xl mx-auto px-6 pb-16"> |
| 90 | + <div className="card"> |
| 91 | + <h2 className="text-2xl font-bold text-surface-900 dark:text-surface-100 mb-4"> |
| 92 | + A tiling window manager built for macOS |
| 93 | + </h2> |
| 94 | + <div className="text-surface-600 dark:text-surface-400 text-sm leading-relaxed space-y-3"> |
| 95 | + <p> |
| 96 | + tarmac is a tiling window manager that automatically arranges |
| 97 | + your macOS windows into non-overlapping tiles using a binary |
| 98 | + space partition (BSP) algorithm. Instead of manually dragging |
| 99 | + and resizing windows, tarmac handles layout for you — open a |
| 100 | + new window and it splits the available space. |
| 101 | + </p> |
| 102 | + <p> |
| 103 | + Navigate between windows with keyboard shortcuts (vim-style |
| 104 | + hjkl or arrow keys), swap window positions, resize splits, and |
| 105 | + manage 10 workspaces per monitor. Named scratchpad overlays |
| 106 | + give you quick-access terminals or tools that toggle on and |
| 107 | + off. |
| 108 | + </p> |
| 109 | + <p> |
| 110 | + tarmac is written in Rust and configured through a single Lua |
| 111 | + file at <code>~/.config/tarmac/init.lua</code>. It runs as a |
| 112 | + background daemon, uses the macOS Accessibility API for window |
| 113 | + control, and exposes an IPC socket for scripting via{" "} |
| 114 | + <code>tarmacctl</code>. |
| 115 | + </p> |
| 116 | + <p> |
| 117 | + Window borders are rendered by{" "} |
| 118 | + <Link href="/docs/ers/overview" className="text-accent hover:underline"> |
| 119 | + ers |
| 120 | + </Link> |
| 121 | + , a companion process that draws colored overlays around |
| 122 | + windows using private SkyLight framework APIs. Borders show |
| 123 | + which window is focused at a glance. |
| 124 | + </p> |
| 125 | + </div> |
| 126 | + </div> |
| 127 | + </section> |
| 128 | + |
| 79 | 129 | {/* Feature cards */} |
| 80 | 130 | <section className="max-w-6xl mx-auto px-6 pb-16"> |
| 131 | + <h2 className="text-2xl font-bold text-surface-900 dark:text-surface-100 mb-8 text-center"> |
| 132 | + Features |
| 133 | + </h2> |
| 81 | 134 | <div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6"> |
| 82 | 135 | <FeatureCard |
| 83 | 136 | title="BSP tiling" |
@@ -111,6 +164,10 @@ export default function Home() { |
| 111 | 164 | title="Rich events for bar integration" |
| 112 | 165 | description="Events carry full workspace snapshots, window metadata, and layout state. Subscribe from shell scripts or Lua callbacks to drive status bars like sketchybar." |
| 113 | 166 | /> |
| 167 | + <FeatureCard |
| 168 | + title="Multi-monitor support" |
| 169 | + description="Each monitor gets its own set of workspaces. Focus and move windows between monitors with keybinds. Hotplug detection when displays connect or disconnect." |
| 170 | + /> |
| 114 | 171 | </div> |
| 115 | 172 | </section> |
| 116 | 173 | |
@@ -119,7 +176,7 @@ export default function Home() { |
| 119 | 176 | <div className="card p-0 overflow-hidden"> |
| 120 | 177 | <div className="screenshot-placeholder"> |
| 121 | 178 | <p className="text-lg font-medium mb-2">Screenshot: tarmac in action</p> |
| 122 | | - <p className="text-sm">BSP layout with gaps, borders, and multiple workspaces</p> |
| 179 | + <p className="text-sm">BSP layout with gaps, borders, and multiple workspaces on macOS</p> |
| 123 | 180 | <p className="text-xs mt-4 italic">[ placeholder — add hero-screenshot.png to public/ ]</p> |
| 124 | 181 | </div> |
| 125 | 182 | </div> |
@@ -129,16 +186,81 @@ export default function Home() { |
| 129 | 186 | <section className="max-w-6xl mx-auto px-6 pb-16"> |
| 130 | 187 | <div className="card"> |
| 131 | 188 | <h2 className="text-2xl font-bold text-surface-900 dark:text-surface-100 mb-6"> |
| 132 | | - How tarmac compares |
| 189 | + How tarmac compares to other tiling window managers |
| 133 | 190 | </h2> |
| 134 | 191 | <p className="text-surface-600 dark:text-surface-400 mb-6 text-sm"> |
| 135 | | - tarmac is macOS-only. If you're on Linux, the options below may suit you better. |
| 136 | | - This table reflects documented features; actual behavior depends on version and configuration. |
| 192 | + tarmac is macOS-only. If you're on Linux, i3, sway, Hyprland, or bspwm |
| 193 | + are good options. On macOS, tarmac sits alongside yabai and AeroSpace |
| 194 | + as a keyboard-driven tiling window manager with IPC, workspaces, and scratchpads. |
| 137 | 195 | </p> |
| 138 | 196 | <ComparisonTable /> |
| 139 | 197 | </div> |
| 140 | 198 | </section> |
| 141 | 199 | |
| 200 | + {/* FAQ for SEO */} |
| 201 | + <section className="max-w-4xl mx-auto px-6 pb-16"> |
| 202 | + <div className="card"> |
| 203 | + <h2 className="text-2xl font-bold text-surface-900 dark:text-surface-100 mb-6"> |
| 204 | + Frequently asked questions |
| 205 | + </h2> |
| 206 | + <div className="space-y-6 text-sm"> |
| 207 | + <div> |
| 208 | + <h3 className="font-semibold text-surface-900 dark:text-surface-100 mb-1"> |
| 209 | + What is a tiling window manager? |
| 210 | + </h3> |
| 211 | + <p className="text-surface-600 dark:text-surface-400"> |
| 212 | + A tiling window manager automatically arranges your windows so |
| 213 | + they don't overlap, filling the screen in a grid-like pattern. |
| 214 | + Instead of floating windows you drag around manually, a tiling WM |
| 215 | + handles all positioning and sizing. You navigate and manage windows |
| 216 | + with keyboard shortcuts. |
| 217 | + </p> |
| 218 | + </div> |
| 219 | + <div> |
| 220 | + <h3 className="font-semibold text-surface-900 dark:text-surface-100 mb-1"> |
| 221 | + Does macOS have a built-in tiling window manager? |
| 222 | + </h3> |
| 223 | + <p className="text-surface-600 dark:text-surface-400"> |
| 224 | + macOS has basic window snapping (split view), but no real tiling |
| 225 | + window manager. Tools like tarmac, yabai, and AeroSpace fill this |
| 226 | + gap by providing automatic window tiling, workspaces, and keyboard |
| 227 | + navigation on macOS. |
| 228 | + </p> |
| 229 | + </div> |
| 230 | + <div> |
| 231 | + <h3 className="font-semibold text-surface-900 dark:text-surface-100 mb-1"> |
| 232 | + How is tarmac different from yabai? |
| 233 | + </h3> |
| 234 | + <p className="text-surface-600 dark:text-surface-400"> |
| 235 | + Both are BSP-based tiling window managers for macOS with IPC |
| 236 | + support. tarmac is written in Rust, uses Lua for configuration, |
| 237 | + and includes built-in scratchpads, a system tray, and a settings |
| 238 | + GUI. yabai is written in C and configured via shell scripts. |
| 239 | + tarmac also bundles ers for window borders. |
| 240 | + </p> |
| 241 | + </div> |
| 242 | + <div> |
| 243 | + <h3 className="font-semibold text-surface-900 dark:text-surface-100 mb-1"> |
| 244 | + Does tarmac work on Apple Silicon? |
| 245 | + </h3> |
| 246 | + <p className="text-surface-600 dark:text-surface-400"> |
| 247 | + Yes. tarmac runs natively on both Apple Silicon (M1/M2/M3/M4) and |
| 248 | + Intel Macs. It's tested on macOS Monterey through Tahoe. |
| 249 | + </p> |
| 250 | + </div> |
| 251 | + <div> |
| 252 | + <h3 className="font-semibold text-surface-900 dark:text-surface-100 mb-1"> |
| 253 | + Does tarmac require disabling System Integrity Protection (SIP)? |
| 254 | + </h3> |
| 255 | + <p className="text-surface-600 dark:text-surface-400"> |
| 256 | + No. tarmac works with SIP enabled. It only requires Accessibility |
| 257 | + permission, which you grant through System Settings. |
| 258 | + </p> |
| 259 | + </div> |
| 260 | + </div> |
| 261 | + </div> |
| 262 | + </section> |
| 263 | + |
| 142 | 264 | {/* Getting started CTA */} |
| 143 | 265 | <section className="max-w-4xl mx-auto px-6 pb-24 text-center"> |
| 144 | 266 | <div className="card inline-block px-10 py-8"> |
@@ -146,7 +268,7 @@ export default function Home() { |
| 146 | 268 | Get started |
| 147 | 269 | </h2> |
| 148 | 270 | <p className="text-surface-600 dark:text-surface-400 mb-6"> |
| 149 | | - Read the docs, install tarmac, and start tiling. |
| 271 | + Install tarmac in one command and start tiling your macOS windows. |
| 150 | 272 | </p> |
| 151 | 273 | <Link |
| 152 | 274 | href="/docs/getting-started" |
@@ -160,7 +282,7 @@ export default function Home() { |
| 160 | 282 | {/* Footer */} |
| 161 | 283 | <footer className="border-t border-surface-200 dark:border-surface-800 bg-white/80 dark:bg-surface-950/80 backdrop-blur-md"> |
| 162 | 284 | <div className="max-w-6xl mx-auto px-6 py-8 flex items-center justify-between text-sm text-surface-500"> |
| 163 | | - <span>tarmac — macOS tiling window manager</span> |
| 285 | + <span>tarmac — tiling window manager for macOS</span> |
| 164 | 286 | <a |
| 165 | 287 | href="https://github.com/gardesk/tarmac" |
| 166 | 288 | className="hover:text-surface-900 dark:hover:text-surface-100 transition-colors" |