Вход на сайт

Просмотр новости

Найдите то, что Вас интересует

Ghostty Launch Configurations

Дата публикации: 29-07-2026 18:03:25

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!

Схожие новости

#Наименование новостиТональностьИнформативностьДата публикации
1Ghostty Launch Configurations08.5730-07-2026
2Ghostty Launch Configurations06.9430-07-2026
3Gmail Search Tools06.0228-07-2026
4Two Months with Alfred: No Looking Back3622-06-2026
5Unresponsive Keyboard and Trackpad while running Alfred-3629-06-2026
6Search Figma files and open them in the desktop app2627-06-2026
7System events and mouse control integration07.5629-07-2026
8date snippet inserts a space at the front06.6629-07-2026
9update server down?04.4930-07-2026
10date snippet inserts a space at the front05.8929-07-2026

Классификация: . Схожих патентов: 0. Схожих новостей: 10. Тональность: 0. Информативность: 4.76. Источник: www.alfredforum.com.