summaryrefslogtreecommitdiffstats
path: root/files/xdg-email-hook.sh
diff options
context:
space:
mode:
Diffstat (limited to 'files/xdg-email-hook.sh')
-rwxr-xr-xfiles/xdg-email-hook.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/files/xdg-email-hook.sh b/files/xdg-email-hook.sh
new file mode 100755
index 0000000..2ad2dc3
--- /dev/null
+++ b/files/xdg-email-hook.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+[ -z "$MAILER" ] && MAILER=`which mozilla-thunderbird 2> /dev/null`
+[ -z "$MAILER" ] && MAILER=/usr/bin/xdg-email
+exec $MAILER $@