Commands & config.
You never need any of this to use Tilemode: everything has a normal Mac window. This page is for people who like to read config files, and for the coding agent you ask to set things up.
Setup
- Requirements: macOS 14 or later, Apple silicon or Intel.
- Accessibility permission lets Tilemode move and resize windows. Web apps and hotkeys work without it; tiling turns on once you allow it in System Settings → Privacy & Security → Accessibility.
- The
tilemodecommand comes inside the app. Tilemode offers to add it to your PATH on first run. You can skip that.
Config file
Everything you set up, in the app or through an agent, is saved to one plain-text file:
~/.config/tilemode/config.toml
Tilemode watches it and applies changes as soon as you save. Edits you make in the app are written back to it, and your comments are kept. Copy it to a new Mac and run tilemode apply to get your whole setup back.
# Web apps: one table per app [apps.mail] url = "https://mail.example.com" hotkey = "opt+cmd+m" # launch or focus tile = "left-half" # where it snaps when it opens [apps.chat] url = "https://chat.example.com" hotkey = "opt+cmd+c" tile = "right-third" # Hotkeys for native apps, by bundle ID [hotkeys] "opt+cmd+e" = { bundle = "com.example.editor" } # Named layouts: app → tile [layouts.focus] mail = "left-third" "com.example.editor" = "right-two-thirds"
| Key | What it does |
|---|---|
| [apps.NAME] | A website turned into its own Mac app. url is required; hotkey and tile are optional. |
| [hotkeys] | Global hotkeys for any installed app, matched by bundle ID. |
| [layouts.NAME] | A saved arrangement. Keys are web app names or bundle IDs, values are tiles. |
Tiles & layouts
| Tile | Area of the screen |
|---|---|
| left-half / right-half | Left or right 50% |
| top-half / bottom-half | Top or bottom 50% |
| left-third / center-third / right-third | One third, full height |
| left-two-thirds / right-two-thirds | Two thirds, full height |
| top-left / top-right / bottom-left / bottom-right | A quarter (2×2 grid) |
| fill | The whole usable screen (not macOS full screen) |
Tiles always fit the usable area of the display the window is on, menu bar and notch included.
Hotkey syntax
Modifiers joined with +, then one key: cmd, opt, ctrl, shift. Examples: opt+cmd+m, ctrl+opt+space. Tilemode warns you if a hotkey clashes with a system shortcut.
The tilemode command
Built for coding agents and scripts. Every command takes --json for machine-readable output. Anything that removes something asks first, unless you pass --yes.
| Command | What it does |
|---|---|
| tilemode app add <url> --name <name> | Turn a website into a Mac app (own window, icon, Dock and Spotlight entry). |
| tilemode app list | List your web apps. |
| tilemode app remove <name> | Remove a web app. |
| tilemode hotkey set <chord> <app> | Give a web app or native app a global hotkey. |
| tilemode hotkey unset <chord> | Remove a hotkey. |
| tilemode hotkey list | Show every hotkey. |
| tilemode tile <app> <tile> | Snap an app's window into a tile now. |
| tilemode rule add <app> --tile <tile> | Always snap that app into a tile when it opens. |
| tilemode rule remove <app> | Remove the rule. |
| tilemode layout save <name> | Save the current arrangement as a named layout. |
| tilemode layout apply <name> | Arrange windows using a saved layout. |
| tilemode layout list | List saved layouts. |
| tilemode config show | Print the current config. |
| tilemode apply | Apply config.toml in full, e.g. on a new Mac. |
| tilemode doctor | Check permissions and setup. |
$ tilemode app add https://chat.example.com --name Chat $ tilemode hotkey set opt+cmd+c Chat $ tilemode rule add Chat --tile right-third
Your coding agent
- Agent skill. Tilemode includes a short plain-text instruction file that teaches a coding agent the commands and config above. In Settings → Agents, Tilemode lists the coding agents it finds on your Mac. It adds the skill only to the ones you click Install on, and you can remove it from there too.
- Then just ask. "Make mail.example.com an app on ⌥⌘M and tile it left." The agent runs the
tilemodecommands for you. - Agent hotkey. Optional: pick your agent and terminal in Settings, and ⌃⌥A opens it in your Tilemode config folder, ready to go.
- No API key, no AI costs. Tilemode never calls an AI service. Your agent uses the subscription you already have.
Default shortcuts
| Keys | Action |
|---|---|
| ⌃⌥Space | Enter tile mode |
| ⌃⌥A | Open your coding agent (if set up) |
| ⌃⌥N | New web app from a URL |
| ⌃⌥L | Switch saved layout |
| Arrows or H J K L | In tile mode: move focus |
| ⇧ + arrows | In tile mode: move the window |
| 1–6 | In tile mode: pick a layout |
| F | In tile mode: fill the screen |
| ] / [ | In tile mode: next / previous display |
| ↩ or esc | Leave tile mode |
Rebind any of these in config.toml.