I'm just getting started with ghostty but I pasted title = "$CWD"
I couldn't navigate to the correct config using ghostty docs but the UI settings opened the config txt edit seen on my screen shot.
I found the other config options you see at https://ghostty.zerebos.com/settings/application