From 7b20504301d6593d16f6215fdb2024aa30d5193c Mon Sep 17 00:00:00 2001 From: sefidel Date: Mon, 9 Oct 2023 15:26:50 +0900 Subject: feat(home/communciation): neomutt: add macro to trigger manual sync This commit binds 'S' to start the mbsync-oneshot service, triggering manual mailbox sync. This serves as a *temporary* solution for mails being missed while the machine was on suspend state. --- home/profiles/communication/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/home/profiles/communication/default.nix b/home/profiles/communication/default.nix index 45f8815..b2874a2 100644 --- a/home/profiles/communication/default.nix +++ b/home/profiles/communication/default.nix @@ -269,6 +269,12 @@ in "index,pager \\Cn " "index,pager \\Cb urlscan" "attach,compose \\Cb urlscan" + ] ++ [ + { + map = [ "index" ]; + key = "S"; + action = "systemctl start --user mbsync-oneshot"; + } ]; # TODO: Re-theme this after nightlamp -> limestone theme -- cgit 1.4.1