Skip to content

Instantly share code, notes, and snippets.

@beezly
Last active March 31, 2026 15:11
Show Gist options
  • Select an option

  • Save beezly/fc2c0076490a59756b2a20afb1358aa1 to your computer and use it in GitHub Desktop.

Select an option

Save beezly/fc2c0076490a59756b2a20afb1358aa1 to your computer and use it in GitHub Desktop.
xbar config to use ghostty for terminal commands
{
"terminal": {
"appleScriptTemplate3": "\n\t\t\tset quotedScriptName to quoted form of \"{{ .Command }}\"\n\t\t{{ if .Params }}\n\t\t\tset commandLine to {{ .Vars }} & \" \" & quotedScriptName & \" \" & {{ .Params }}\n\t\t{{ else }}\n\t\t\tset commandLine to {{ .Vars }} & \" \" & quotedScriptName\n\t\t{{ end }}\n\t\t\tdo shell script \"open -na Ghostty.app --args --command=\" & quoted form of commandLine\n\t\t"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment