C:\Users\username\
- Go to: https://patorjk.com/software/taag/#p=display&h=3&v=1&f=Larry%203D&t=Type%20Something%20
- Enter your text
- Copy text
- Go to Microsoft.PowerShell_profile.ps1 file
- Paste your new text header
Path is: (base path + this path)
AppData\Local\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState\settings.json
- PSVersion: 7.6.1
- PSEdition: Core
Other shells are hidden except Powershell and Ubuntu
- For more info see settings.json
- Current config is mainly for the
notifier - More info about notifier : https://github.com/mohak34/opencode-notifier
- See my config: opencode-notifier.json
- Current config is mainly for custom
notifier(like what I did for Opencode) - See:
- config.toml: Defines the Codex hooks and points them to notify.ps1
- notify.ps1 : The hook entrypoint. It reads/discards hook input, checks the custom sound path, then launches the sound player in the background so the hook exits quickly
- play-notify-sound.ps1 : The background helper that actually plays audio\pokeding.wav with SoundPlayer.PlaySync()
Q: Why not squeeze everything in notify.ps1?
A: play-notify-sound.ps1 keeps the Codex hook fast. notify.ps1 exits almost immediately, so Codex does not sit on Running Stop
hook while the sound plays, and it avoids timeout/failure issues
Q: Why create Codex CLI custom notifier if you can use Opencode with codex?
A: Because I can
Note: this works on Codex CLI and App