Make HEY the default mailto handler (#1822)

This commit is contained in:
Ryan Hughes authored and GitHub committed 2025-10-05 18:18:22 +02:00
1 parent a079af948b
commit c7aa0f570a
3 files changed
+15 -1

No files matched your search

+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"