commit 000b3d45ebdb387b91b05f5512beb7b46a62a7bd
parent 828af1e14c6240fc90a6f28b52304c91f12bf81a
Author: Vincent Demeester <vincent@sbr.pm>
Date: Sat, 23 Mar 2019 10:30:00 +0100
profiles.mails: change emojis 💃
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/modules/profiles/mails.nix b/modules/profiles/mails.nix
@@ -108,7 +108,7 @@ xdg.configFile."mbsync/postExec" = {
${pkgs.notmuch}/bin/notmuch tag -inbox tag:inbox
#${pkgs.notmuch}/bin/notmuch tag -Inbox "NOT folder:Inbox and tag:Inbox"
- ${pkgs.libnotify}/bin/notify-send "Mails synced 📫"
+ ${pkgs.libnotify}/bin/notify-send "Mails synced 📬"
'';
executable = true;
};
@@ -134,7 +134,7 @@ programs.afew = {
maildir_separator = /
[MailMover]
- folders = perso/Inbox redhat/Inbox
+ folders = perso/Inbox redhat/Inbox
rename = true
perso/Inbox = 'NOT tag:Inbox':"perso/[Gmail]/All Mail"
@@ -144,10 +144,11 @@ programs.afew = {
programs.notmuch.enable = true;
programs.msmtp.enable = true;
home.packages = with pkgs; [ mu ];
+
home.file."bin/msmtp" = {
text = ''
#!${pkgs.stdenv.shell}
-
+ ${pkgs.libnotify}/bin/notify-send "Sending mail ✉️"
${pkgs.msmtp}/bin/msmtp --read-envelope-from $@
'';
executable = true;
@@ -156,6 +157,7 @@ home.file."bin/msmtp" = {
home.file."bin/msync" = {
text = ''
#!${pkgs.stdenv.shell}
+ ${pkgs.libnotify}/bin/notify-send "Syncing mails 📫️"
systemctl --user start mbsync
'';
executable = true;