thunderbird: primitive email notifier

This commit is contained in:
Vincent Bernat 2022-06-12 16:28:42 +02:00
parent b698c740af
commit d71dd264c3
4 changed files with 122 additions and 1 deletions

View file

@ -6,3 +6,4 @@ Wants=wallpaper.timer
Wants=polybar.service
Wants=i3-companion.service
Wants=misc-x.service
Wants=thunderbird-notify.service

View file

@ -0,0 +1,9 @@
[Unit]
Description=Display notifications when receiving new mails
PartOf=graphical-session.target
ConditionPathExists=%h/.config/thunderbird-notify.env
[Service]
EnvironmentFile=%h/.config/thunderbird-notify.env
ExecStart=%h/.config/i3/bin/thunderbird-notify $ARGS
Restart=on-failure