From 45aa2c98fd3ff1050c89a7a60477626f56a04bf4 Mon Sep 17 00:00:00 2001 From: Andrea Ciceri Date: Mon, 4 Nov 2024 11:19:54 +0100 Subject: [PATCH] Remove aerc stuff --- hmModules/email/default.nix | 306 ++++++++++++++++++------------------ 1 file changed, 153 insertions(+), 153 deletions(-) diff --git a/hmModules/email/default.nix b/hmModules/email/default.nix index 5ae160a..ab37b05 100644 --- a/hmModules/email/default.nix +++ b/hmModules/email/default.nix @@ -22,183 +22,183 @@ ); }; - home.file.".config/aerc/stylesets" = - let - catppuccin-aerc = pkgs.fetchFromGitHub { - owner = "catppuccin"; - repo = "aerc"; - rev = "ca404a9f2d125ef12db40db663d43c9d94116a05"; - hash = "sha256-OWIkHsKFts/zkrDUtbBPXHVSrHL/F0v3LB1rnlFAKmE="; - }; - in - { - source = "${catppuccin-aerc}/dist"; - recursive = true; - }; + # home.file.".config/aerc/stylesets" = + # let + # catppuccin-aerc = pkgs.fetchFromGitHub { + # owner = "catppuccin"; + # repo = "aerc"; + # rev = "ca404a9f2d125ef12db40db663d43c9d94116a05"; + # hash = "sha256-OWIkHsKFts/zkrDUtbBPXHVSrHL/F0v3LB1rnlFAKmE="; + # }; + # in + # { + # source = "${catppuccin-aerc}/dist"; + # recursive = true; + # }; - programs.aerc = { - enable = true; - extraBinds = { - global = { - "" = ":prev-tab"; - "" = ":next-tab"; - "?" = ":help keys"; - }; + # programs.aerc = { + # enable = true; + # extraBinds = { + # global = { + # "" = ":prev-tab"; + # "" = ":next-tab"; + # "?" = ":help keys"; + # }; - messages = { - "h" = ":prev-tab"; - "l" = ":next-tab"; + # messages = { + # "h" = ":prev-tab"; + # "l" = ":next-tab"; - "j" = ":next"; - "" = ":next"; - "" = ":next 50%"; - "" = ":next 100%"; - "" = ":next 100%"; + # "j" = ":next"; + # "" = ":next"; + # "" = ":next 50%"; + # "" = ":next 100%"; + # "" = ":next 100%"; - "k" = ":prev"; - "" = ":prev"; - "" = ":prev 50%"; - "" = ":prev 100%"; - "" = ":prev 100%"; - "g" = ":select 0"; - "G" = ":select -1"; + # "k" = ":prev"; + # "" = ":prev"; + # "" = ":prev 50%"; + # "" = ":prev 100%"; + # "" = ":prev 100%"; + # "g" = ":select 0"; + # "G" = ":select -1"; - "J" = ":next-folder"; - "K" = ":prev-folder"; - "H" = ":collapse-folder"; - "L" = ":expand-folder"; + # "J" = ":next-folder"; + # "K" = ":prev-folder"; + # "H" = ":collapse-folder"; + # "L" = ":expand-folder"; - "v" = ":mark -t"; - "x" = ":mark -t:next"; - "V" = ":mark -v"; + # "v" = ":mark -t"; + # "x" = ":mark -t:next"; + # "V" = ":mark -v"; - "T" = ":toggle-threads"; + # "T" = ":toggle-threads"; - "" = ":view"; - "d" = ":prompt 'Really delete this message?' 'delete-message'"; - "D" = ":delete"; - "A" = ":archive flat"; + # "" = ":view"; + # "d" = ":prompt 'Really delete this message?' 'delete-message'"; + # "D" = ":delete"; + # "A" = ":archive flat"; - "C" = ":compose"; + # "C" = ":compose"; - "rr" = ":reply -a"; - "rq" = ":reply -aq"; - "Rr" = ":reply"; - "Rq" = ":reply -q"; + # "rr" = ":reply -a"; + # "rq" = ":reply -aq"; + # "Rr" = ":reply"; + # "Rq" = ":reply -q"; - "c" = ":cf"; - "$" = ":term"; - "!" = ":term"; - "|" = ":pipe"; + # "c" = ":cf"; + # "$" = ":term"; + # "!" = ":term"; + # "|" = ":pipe"; - "/" = ":search"; - "\\" = ":filter"; - "n" = ":next-result"; - "N" = ":prev-result"; - "" = ":clear"; - }; + # "/" = ":search"; + # "\\" = ":filter"; + # "n" = ":next-result"; + # "N" = ":prev-result"; + # "" = ":clear"; + # }; - "messages:folder=Drafts" = { - "" = ":recall"; - }; + # "messages:folder=Drafts" = { + # "" = ":recall"; + # }; - view = { - "/" = ":toggle-key-passthrough/"; - "q" = ":close"; - "O" = ":open"; - "S" = ":save"; - "|" = ":pipe"; - "D" = ":delete"; - "A" = ":archive flat"; + # view = { + # "/" = ":toggle-key-passthrough/"; + # "q" = ":close"; + # "O" = ":open"; + # "S" = ":save"; + # "|" = ":pipe"; + # "D" = ":delete"; + # "A" = ":archive flat"; - "" = ":open-link "; + # "" = ":open-link "; - "f" = ":forward"; - "rr" = ":reply -a"; - "rq" = ":reply -aq"; - "Rr" = ":reply"; - "Rq" = ":reply -q"; + # "f" = ":forward"; + # "rr" = ":reply -a"; + # "rq" = ":reply -aq"; + # "Rr" = ":reply"; + # "Rq" = ":reply -q"; - "H" = ":toggle-headers"; - "" = ":prev-part"; - "" = ":next-part"; - "J" = ":next"; - "K" = ":prev"; - }; + # "H" = ":toggle-headers"; + # "" = ":prev-part"; + # "" = ":next-part"; + # "J" = ":next"; + # "K" = ":prev"; + # }; - "view::passthrough" = { - "$noinherit" = true; - "$ex" = ""; - "" = ":toggle-key-passthrough"; - }; + # "view::passthrough" = { + # "$noinherit" = true; + # "$ex" = ""; + # "" = ":toggle-key-passthrough"; + # }; - compose = { - "$noinherit" = "true"; - "$ex" = ""; - "" = ":prev-field"; - "" = ":next-field"; - "" = ":switch-account -p"; - "" = ":switch-account -n"; - "" = ":next-field"; - "" = ":prev-tab"; - "" = ":next-tab"; - }; + # compose = { + # "$noinherit" = "true"; + # "$ex" = ""; + # "" = ":prev-field"; + # "" = ":next-field"; + # "" = ":switch-account -p"; + # "" = ":switch-account -n"; + # "" = ":next-field"; + # "" = ":prev-tab"; + # "" = ":next-tab"; + # }; - "compose::editor" = { - "$noinherit" = "true"; - "$ex" = ""; - "" = ":prev-field"; - "" = ":next-field"; - "" = ":prev-tab"; - "" = ":next-tab"; - }; + # "compose::editor" = { + # "$noinherit" = "true"; + # "$ex" = ""; + # "" = ":prev-field"; + # "" = ":next-field"; + # "" = ":prev-tab"; + # "" = ":next-tab"; + # }; - "compose::review" = { - "y" = ":send"; - "n" = ":abort"; - "p" = ":postpone"; - "q" = ":choose -o d discard abort -o p postpone postpone"; - "e" = ":edit"; - "a" = ":attach"; - "d" = ":detach"; - }; + # "compose::review" = { + # "y" = ":send"; + # "n" = ":abort"; + # "p" = ":postpone"; + # "q" = ":choose -o d discard abort -o p postpone postpone"; + # "e" = ":edit"; + # "a" = ":attach"; + # "d" = ":detach"; + # }; - terminal = { - "$noinherit" = "true"; - "$ex" = ""; + # terminal = { + # "$noinherit" = "true"; + # "$ex" = ""; - "" = ":prev-tab"; - "" = ":next-tab"; - }; - }; - extraConfig = { - general.unsafe-accounts-conf = true; - ui = { - styleset-name = "catppuccin-mocha"; - this-day-time-format = ''" 15:04"''; - this-year-time-format = "Mon Jan 02 15:04"; - timestamp-format = "2006-01-02 15:04"; + # "" = ":prev-tab"; + # "" = ":next-tab"; + # }; + # }; + # extraConfig = { + # general.unsafe-accounts-conf = true; + # ui = { + # styleset-name = "catppuccin-mocha"; + # this-day-time-format = ''" 15:04"''; + # this-year-time-format = "Mon Jan 02 15:04"; + # timestamp-format = "2006-01-02 15:04"; - spinner = "[ ⡿ ],[ ⣟ ],[ ⣯ ],[ ⣷ ],[ ⣾ ],[ ⣽ ],[ ⣻ ],[ ⢿ ]"; - border-char-vertical = "┃"; - border-char-horizontal = "━"; - }; - viewer = { - always-show-mime = true; - }; - compose = { - no-attachment-warning = "^[^>]*attach(ed|ment)"; - }; - filters = { - "text/plain" = "colorize"; - "text/html" = "html"; - "text/calendar" = "calendar"; - "message/delivery-status" = "colorize"; - "message/rfc822" = "colorize"; - "image/*" = "${pkgs.catimg}/bin/catimg -"; - }; - }; - }; + # spinner = "[ ⡿ ],[ ⣟ ],[ ⣯ ],[ ⣷ ],[ ⣾ ],[ ⣽ ],[ ⣻ ],[ ⢿ ]"; + # border-char-vertical = "┃"; + # border-char-horizontal = "━"; + # }; + # viewer = { + # always-show-mime = true; + # }; + # compose = { + # no-attachment-warning = "^[^>]*attach(ed|ment)"; + # }; + # filters = { + # "text/plain" = "colorize"; + # "text/html" = "html"; + # "text/calendar" = "calendar"; + # "message/delivery-status" = "colorize"; + # "message/rfc822" = "colorize"; + # "image/*" = "${pkgs.catimg}/bin/catimg -"; + # }; + # }; + # }; programs.notmuch = { enable = true;