Make HEY the default mailto handler (#1822)

This commit is contained in:
Ryan Hughes
2025-10-05 18:18:22 +02:00
committed by GitHub
parent a079af948b
commit c7aa0f570a
3 changed files with 15 additions and 1 deletions
+11
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"