Make onNotifyPost command a normal string

This commit is contained in:
Charlotte 🦝 Delenk 2022-01-19 15:06:22 +01:00
parent 7070770515
commit 368e26dc35
Signed by: darkkirb
GPG key ID: 015E3768A70AFBC5

View file

@ -29,9 +29,7 @@
enable = true;
boxes = [ "Inbox" ];
onNotify = "${pkgs.isync}/bin/mbsync %s";
onNotifyPost = {
mail = "${pkgs.notmuch}/bin/notmuch new && ${pkgs.libnotify}/bin/notify-send 'New mail arrived'";
};
onNotifyPost = "${pkgs.notmuch}/bin/notmuch new && ${pkgs.libnotify}/bin/notify-send 'New mail arrived'";
};
mbsync = {
enable = true;