summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/bin/email2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/bin/email b/bin/bin/email
index b4fe9fa..c2f9998 100755
--- a/bin/bin/email
+++ b/bin/bin/email
@@ -10,7 +10,7 @@ new_mails=$(find $HOME/.mail -path '*/new/*' -type f -not -path '*/rss/*')
if [[ ! -z ${new_mails} ]]; then
subjects=$(cat $(echo -e ${new_mails/'\n'/' '}) | grep "^Subject: " | sed "s/^Subject: //g")
- /usr/bin/notify-send -t 3 "New mail(s)!" "${subjects}"
+ DISPLAY=:0 /usr/bin/notify-send -t 3 "New mail(s)!" "${subjects}"
fi
echo "Email last checked on $(date)".