thunderbird: use a configuration file

This commit is contained in:
Vincent Bernat 2022-06-13 10:49:30 +02:00
parent d2a308f472
commit af4d1bd738
2 changed files with 18 additions and 8 deletions

View file

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