diff options
author | Urbain Vaes <urbain@vaes.uk> | 2017-06-07 13:04:32 +0100 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2017-06-07 13:04:32 +0100 |
commit | 4ef38f411ec198328b5c18ba4b56b1499e4bc798 (patch) | |
tree | c385e8e47ce2ae7e6967ae7384775dcebc82e059 /bin | |
parent | 2da45eb37e5207a0a0f62f0714e0f2f3676f3fe3 (diff) |
Add script to facilitate qutebrowser navigation
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/bin/email | 2 |
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)". |