GitHunt
DA

dapetcu21/alfred-kitty-integration

Script to use kitty as the custom terminal with Alfred

Custom Kitty integration for Alfred 5

Script to use kitty as the custom terminal with Alfred, with some custom behavior

My modified script is based on pyrhos' guide
Using Kitty as a custom terminal for Alfred

The difference is that with my script, the default behavior is to execute the command into the current window, instead of opening a new window.
Opening a new window can be done by typing "-n" before the command

Just putting an empty space will also open kitty without pasting anything (since opening spaces are removed)

First, copy macos-launch-services-cmdline into your kitty config folder (~/.config/kitty/) or use the following command:

mkdir -p ~/.config/kitty && echo "--listen-on unix:/tmp/mykitty" > ~/.config/kitty/macos-launch-services-cmdline

Then in the Alfred Settings, under General > Terminal, change the Application dropdown to "Custom" and paste in the content of alfred-kitty-integration.applescript and you should be good to go

You will also need to install jq if you don't already have it:

brew install jq

Languages

AppleScript100.0%

Contributors

MIT License
Created October 27, 2025
Updated October 27, 2025
dapetcu21/alfred-kitty-integration | GitHunt