all repos — dot @ 179de57cd3389f5c87d1fa951f9c393fe6da5f8e

Shell, editor and terminal configuration, and the tools that go with them

bin/notify (view raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
#!/bin/bash

set -euo pipefail

title="$1"
message="${2:-}"

terminal-notifier \
  -title "$title" \
  -message "$message" \
  -activate com.mitchellh.ghostty