#!/bin/bash # Check if kitty is running if pgrep -f "kitty" > /dev/null; then # Focus kitty and send the command to create a new tab with y function osascript <