From 4ef38f411ec198328b5c18ba4b56b1499e4bc798 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Wed, 7 Jun 2017 13:04:32 +0100 Subject: Add script to facilitate qutebrowser navigation --- bin/bin/email | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') 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)". -- cgit v1.2.3