aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/wmail11
1 files changed, 11 insertions, 0 deletions
diff --git a/bin/wmail b/bin/wmail
new file mode 100755
index 00000000..27addc40
--- /dev/null
+++ b/bin/wmail
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+case "x-$MAILER" in
+x-|x-browser)
+ # start mail in a new window
+ web 'mailto://'$1
+ ;;
+*)
+ 9term $MAILER
+ ;;
+esac