all repos — dot @ master

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