From ac9cac109267327ff634e4d4929f388f13136c44 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Thu, 8 Aug 2024 20:03:19 +0200 Subject: eww: Ensure MAILDIR is defined --- .config/eww/scripts/email-listener | 2 ++ 1 file changed, 2 insertions(+) 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" -- cgit v1.2.3