Files
omarchy/bin/omarchy-webapp-handler-hey
2025-10-05 18:18:22 +02:00

12 lines
246 B
Bash
Executable File

#!/bin/bash
url="$1"
web_url="https://app.hey.com"
# Handle mailto: URLs
if [[ $url =~ ^mailto: ]]; then
email=$(echo "$url" | sed 's/mailto://')
web_url="https://app.hey.com/messages/new?to=$email"
fi
exec omarchy-launch-webapp "$web_url"