dotfiles

My personal dotfiles 💠️

muttrc (2383B)

      1 # vim: filetype=neomuttrc
      2 #                  _   _            
      3 #                 | | | |           
      4 #  _ __ ___  _   _| |_| |_ _ __ ___ 
      5 # | '_ ` _ \| | | | __| __| '__/ __|
      6 # | | | | | | |_| | |_| |_| | | (__ 
      7 # |_| |_| |_|\__,_|\__|\__|_|  \___|
      8 #
      9 # Pablo (C) 2020
     10 
     11 # Source MuttWizard configs
     12 source /usr/share/mutt-wizard/mutt-wizard.muttrc
     13 
     14 # Source my personal account
     15 source /home/pablo/.config/mutt/accounts/1-personal.muttrc
     16 
     17 # =============================== Accounts ====================================
     18 
     19 # Personal account
     20 macro index,pager i1 '<sync-mailbox><enter-command>source /home/pablo/.config/mutt/accounts/1-personal.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to my personal email account"
     21 
     22 # Public account
     23 macro index,pager i2 '<sync-mailbox><enter-command>source /home/pablo/.config/mutt/accounts/2-public.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to my public email account"
     24 
     25 # Scambaiting account
     26 macro index,pager i3 '<sync-mailbox><enter-command>source /home/pablo/.config/mutt/accounts/3-fake.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to my scambaiting accaunt"
     27 
     28 # =========================== Reading/Indexing ================================
     29 
     30 set query_command = "abook --config \"$XDG_CONFIG_HOME\"/abook/abookrc --datafile \"$XDG_DATA_HOME\"/abook/addressbook --mutt-query '%s'"
     31 
     32 # Add new contacts to abook
     33 macro index,pager A "<pipe-message>abook --config \"$XDG_CONFIG_HOME\"/abook/abookrc --datafile \"$XDG_DATA_HOME\"/abook/addressbook --add-email<return>" "add the sender address to abook"
     34 
     35 # Change the mailbox we're in
     36 macro index,pager I '<change-folder>?' "change folder we're in"
     37 
     38 # Add sender to the addressbook
     39 macro index,pager a "<enter-command>set my_pipe_decode=\$pipe_decode pipe_decode<return><pipe-message>abook --config \"$XDG_CONFIG_HOME\"/abook/abookrc --datafile \"$XDG_DATA_HOME\"/abook/addressbook --add-email<return><enter-command>set pipe_decode=\$my_pipe_decode; unset my_pipe_decode<return>" "add the sender address to abook"
     40 
     41 # Format the sidebar entries
     42 set mail_check_stats=yes
     43 set sidebar_format="%B%* (+%N)"
     44 
     45 # Style the sidebar divider
     46 set sidebar_divider_char="│"
     47 color sidebar_divider white default
     48 
     49 
     50 # =============================== Security ====================================
     51 
     52 # Don't display my timezone when replying 
     53 set date_format="%a, %b %d, %Y"
     54