From 7b20504301d6593d16f6215fdb2024aa30d5193c Mon Sep 17 00:00:00 2001 From: sefidel <contact@sefidel.net> 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(+) (limited to 'home/profiles') 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 <sidebar-next-new><sidebar-open>" "index,pager \\Cb <pipe-message>urlscan<Enter>" "attach,compose \\Cb <pipe-entry>urlscan<Enter>" + ] ++ [ + { + map = [ "index" ]; + key = "S"; + action = "<shell-escape>systemctl start --user mbsync-oneshot<enter>"; + } ]; # TODO: Re-theme this after nightlamp -> limestone theme -- cgit 1.4.1