summaryrefslogtreecommitdiff
path: root/.config/eww/scripts/email-listener
diff options
context:
space:
mode:
Diffstat (limited to '.config/eww/scripts/email-listener')
-rwxr-xr-x.config/eww/scripts/email-listener5
1 files changed, 4 insertions, 1 deletions
diff --git a/.config/eww/scripts/email-listener b/.config/eww/scripts/email-listener
index 861bf28..a5444c8 100755
--- a/.config/eww/scripts/email-listener
+++ b/.config/eww/scripts/email-listener
@@ -1,5 +1,8 @@
#!/bin/sh
+export NOTIFY_SHORT=email
+export NOTIFY_LONG=email
+
readonly CACHE="${XDG_CACHE_HOME:=$HOME/.cache}/email-listener"
touch "$CACHE"
@@ -46,7 +49,7 @@ count()
;;
esac
- notify email email "$title" "$desc"
+ notify "$title" "$desc"
prev=$new_mails
fi
done