diff options
author | Thomas Voss <mail@thomasvoss.com> | 2023-12-01 16:00:08 +0100 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2023-12-01 16:00:08 +0100 |
commit | 6a32e643fe91830d194de22d5125b6d4b326a121 (patch) | |
tree | a385fc05c2243beb5bbeed8488da0275b82346c8 /.config/eww/scripts/email-listener | |
parent | 6807d8456efa8d546a21eec0b66d6dde6e8aa1f6 (diff) |
eww: Use the new notify API
Diffstat (limited to '.config/eww/scripts/email-listener')
-rwxr-xr-x | .config/eww/scripts/email-listener | 5 |
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 |