summaryrefslogtreecommitdiff
path: root/.config/eww
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-08-08 20:03:19 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-08-08 20:03:19 +0200
commitac9cac109267327ff634e4d4929f388f13136c44 (patch)
tree47169645c1f26ade44f37846d990343efb3cdd97 /.config/eww
parent5a7f0eb8b28a6b7220837222e6cc37fc578be956 (diff)
eww: Ensure MAILDIR is defined
Diffstat (limited to '.config/eww')
-rwxr-xr-x.config/eww/scripts/email-listener2
1 files changed, 2 insertions, 0 deletions
diff --git a/.config/eww/scripts/email-listener b/.config/eww/scripts/email-listener
index 41693f3..6889345 100755
--- a/.config/eww/scripts/email-listener
+++ b/.config/eww/scripts/email-listener
@@ -3,6 +3,8 @@
export NOTIFY_SHORT=email
export NOTIFY_LONG=email
+: ${MAILDIR:=$HOME/mail}
+
readonly CACHE="${XDG_CACHE_HOME:=$HOME/.cache}/email-listener"
touch "$CACHE"