From 6a32e643fe91830d194de22d5125b6d4b326a121 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Fri, 1 Dec 2023 16:00:08 +0100 Subject: eww: Use the new notify API --- .config/eww/scripts/email-listener | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to '.config/eww/scripts/email-listener') 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 -- cgit v1.2.3