Make HEY the default mailto handler

This commit is contained in:
Ryan Hughes
2025-09-19 20:40:54 -04:00
parent a746812504
commit 920e85d97b
3 changed files with 15 additions and 1 deletions

11
bin/omarchy-webapp-handler-hey Executable file
View File

@@ -0,0 +1,11 @@
#!/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"