diff options
| author | Arpit Chakladar <arpitchakladar+git@gmail.com> | 2026-07-15 22:59:49 +0530 |
|---|---|---|
| committer | Arpit Chakladar <arpitchakladar+git@gmail.com> | 2026-07-15 22:59:49 +0530 |
| commit | 81a8aff538f4d992d8eb6b1fa4bb71e768f62705 (patch) | |
| tree | dda68d95277ed76f263f4f5d611e0e10003ddaf9 /modules/communication | |
| parent | 17162952e010a6095dc78764bd376f8adef07909 (diff) | |
| download | home-manager-config-81a8aff538f4d992d8eb6b1fa4bb71e768f62705.tar.gz home-manager-config-81a8aff538f4d992d8eb6b1fa4bb71e768f62705.zip | |
feat: added ui for displaying syncing mail in neomutt
Using dialog to show the progress indicator for email syncing in mbsync
and notmuch. Just for eye candy.
Diffstat (limited to 'modules/communication')
| -rw-r--r-- | modules/communication/neomutt/neomutt.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/communication/neomutt/neomutt.nix b/modules/communication/neomutt/neomutt.nix index 30e9229..16d4b37 100644 --- a/modules/communication/neomutt/neomutt.nix +++ b/modules/communication/neomutt/neomutt.nix @@ -26,9 +26,9 @@ in "x-scheme-handler/mailto" = "neomutt.desktop"; }; - home.packages = [ - pkgs.urlscan - pkgs.w3m + home.packages = with pkgs; [ + urlscan + w3m neomuttDesktopItem ]; @@ -393,7 +393,7 @@ in "pager" ]; key = "O"; - action = "<sync-mailbox><shell-escape>mbsync -a && notmuch new<enter><sync-mailbox>"; + action = "<enter-command>set my_wait_key=$wait_key wait_key=no<enter><sync-mailbox><shell-escape>${lib.getExe config.scripts.neomutt-sync.package}<enter><sync-mailbox><enter-command>set wait_key=$my_wait_key<enter>"; } { # gx: extract links from the current message and open one, vim-netrw style |
