Open a saved arrangement of Ghostty terminal windows, tabs, and splits from Alfred. I keep the same set of projects open in Ghostty most days, and rebuilding that by hand every morning got old. The Warp terminal emulator had launch configurations for this - now called tab configs - and there is a Raycast extension that does this same thing but via Raycast. I could not find anything similar for Alfred, so I wrote one! A layout is a JSON file describing windows, tabs and splits, with a working directory, an optional title and an optional startup command for each pane. One keyword reopens all of them. Browse your layouts via the layouts keyword. ↩ Open the layout ⌘ ↩ Edit that layout's file Layouts live in a folder you choose in the workflow's configuration, one JSON file each: {
"name": "Work",
"description": "Everything I open on a Monday",
"tabs": [
{ "title": "API", "cwd": "~/code/api", "focus": true },
{ "title": "Web", "cwd": "~/code/web" },
{ "title": "Logs", "cwd": "~/code/api", "command": "tail -f log/development.log" }
]
} Splits chain, so each one divides the pane before it: {
"title": "App",
"cwd": "~/code/api",
"splits": [
{ "direction": "right", "command": "npm run dev" },
{ "direction": "down", "command": "npm run test:watch" }
]
} There is no layouts folder on a fresh install, so the first run offers to create one with an example to edit. Layouts can also be opened from a script or a hotkey through an external trigger, which is handy if you want one bound to a key. Requirements Alfred 5 with the Powerpack Ghostty 1.3 or later Ghostty added an AppleScript dictionary in 1.3, and that is what the workflow drives to create windows, tabs and splits. On anything older it tells you so rather than failing quietly. Notes It is two JXA scripts and nothing else. No dependencies to install, no network access, and nothing downloaded after install. JavaScript rather than AppleScript because the workflow reads JSON layouts and writes Alfred's JSON feed, though it still drives Ghostty through the same AppleScript dictionary underneath. Download (click the .alfredworkflow file): https://github.com/ryan-token/alfred-ghostty-launch-configs/releases Source: https://github.com/ryan-token/alfred-ghostty-launch-configs Happy to hear about bugs or missing pieces. Hope it's helpful to you!
| # | Наименование новости | Тональность | Информативность | Дата публикации |
|---|---|---|---|---|
| 1 | Ghostty Launch Configurations | 0 | 8.57 | 30-07-2026 |
| 2 | Ghostty Launch Configurations | 0 | 6.94 | 30-07-2026 |
| 3 | Gmail Search Tools | 0 | 6.02 | 28-07-2026 |
| 4 | Two Months with Alfred: No Looking Back | 3 | 6 | 22-06-2026 |
| 5 | Unresponsive Keyboard and Trackpad while running Alfred | -3 | 6 | 29-06-2026 |
| 6 | Search Figma files and open them in the desktop app | 2 | 6 | 27-06-2026 |
| 7 | System events and mouse control integration | 0 | 7.56 | 29-07-2026 |
| 8 | date snippet inserts a space at the front | 0 | 6.66 | 29-07-2026 |
| 9 | update server down? | 0 | 4.49 | 30-07-2026 |
| 10 | date snippet inserts a space at the front | 0 | 5.89 | 29-07-2026 |