diff options
author | Camil Staps | 2021-06-28 13:22:21 +0200 |
---|---|---|
committer | Camil Staps | 2021-06-28 13:22:21 +0200 |
commit | a703c6dfdc47959b15a8184ece5681501924944e (patch) | |
tree | 180296312ef5a09acd0c2f5162f1adcec67e243e | |
parent | Switch to powerline-go for nix-shell support (diff) |
Remove email; update readme
-rw-r--r-- | README.md | 6 | ||||
-rw-r--r-- | email/.msmtprc | 25 | ||||
-rw-r--r-- | email/.mutt/accounts/personal.muttrc | 7 | ||||
-rw-r--r-- | email/.mutt/accounts/radboud.muttrc | 7 | ||||
-rw-r--r-- | email/.mutt/accounts/vivisoft.muttrc | 7 | ||||
-rw-r--r-- | email/.mutt/colourscheme.muttrc | 20 | ||||
-rw-r--r-- | email/.mutt/gpg.muttrc | 6 | ||||
-rw-r--r-- | email/.mutt/muttrc | 44 | ||||
-rw-r--r-- | email/.mutt/sidebar.muttrc | 16 | ||||
-rw-r--r-- | email/.notmuch-config | 88 | ||||
-rw-r--r-- | email/.offlineimaprc | 62 | ||||
-rw-r--r-- | email/aux/offlineimap.py | 7 |
12 files changed, 4 insertions, 291 deletions
@@ -7,10 +7,12 @@ My dotfiles. Feel free to use what you can. `stow -t ~ <NAME>`, where `<NAME>` is one of: - `clean`: [Clean](http://clean.cs.ru.nl) -- `email`: msmtp, neomutt, notmuch, offlineimap (WIP. I'm using a development version of NeoMutt) +- `fonts`: fonts I often use - `git`: git (edit `~/.gitconfig.local` yourself) -- `haskell`: GHCi (you need to `cabal install` some things) +- `haskell`: GHCi - `i3`: i3, i3bar, X - `system`: bash, X +- `texlive`: profile to install TeX Live (no need to `stow` this) - `vim`: vim (highly subjective) - `x`: X +- `zenbook`: files specific to my Asus Zenbook diff --git a/email/.msmtprc b/email/.msmtprc deleted file mode 100644 index 747bc00..0000000 --- a/email/.msmtprc +++ /dev/null @@ -1,25 +0,0 @@ -defaults -host mail.camilstaps.nl -port 587 -protocol smtp -auth plain -tls on -tls_trust_file /etc/ssl/certs/ca-certificates.crt - -account personal -from info@camilstaps.nl -user info@camilstaps.nl -passwordeval pass 'Personal/Email info@camilstaps.nl' - -account vivisoft -from info@vivisoft.nl -user info@vivisoft.nl -passwordeval pass 'ViviSoft/Email info@vivisoft.nl' - -account radboud -host mail.ru.nl -from c.staps@student.ru.nl -user c.staps@student.ru.nl -passwordeval pass 'Personal/Radboud' - -account default : personal diff --git a/email/.mutt/accounts/personal.muttrc b/email/.mutt/accounts/personal.muttrc deleted file mode 100644 index b08ea82..0000000 --- a/email/.mutt/accounts/personal.muttrc +++ /dev/null @@ -1,7 +0,0 @@ -set from=info@camilstaps.nl -set sendmail="msmtp -a personal" -set spoolfile=+Personal/INBOX -set postponed=+Personal/Drafts -set record=+Personal/INBOX.Sent - -color status black blue diff --git a/email/.mutt/accounts/radboud.muttrc b/email/.mutt/accounts/radboud.muttrc deleted file mode 100644 index 55ff836..0000000 --- a/email/.mutt/accounts/radboud.muttrc +++ /dev/null @@ -1,7 +0,0 @@ -set from=c.staps@student.ru.nl -set sendmail="msmtp -a radboud" -set spoolfile=+Radboud/INBOX -set postponed=+Radboud/Drafts -set record=+Radboud/Verzonden\ items - -color status black red diff --git a/email/.mutt/accounts/vivisoft.muttrc b/email/.mutt/accounts/vivisoft.muttrc deleted file mode 100644 index 9a2fa75..0000000 --- a/email/.mutt/accounts/vivisoft.muttrc +++ /dev/null @@ -1,7 +0,0 @@ -set from=info@vivisoft.nl -set sendmail="msmtp -a vivisoft" -set spoolfile=+ViviSoft/INBOX -set postponed=+ViviSoft/Drafts -set record=+ViviSoft/INBOX.Sent - -color status black yellow diff --git a/email/.mutt/colourscheme.muttrc b/email/.mutt/colourscheme.muttrc deleted file mode 100644 index 59cec25..0000000 --- a/email/.mutt/colourscheme.muttrc +++ /dev/null @@ -1,20 +0,0 @@ -color normal white default -color attachment brightyellow default -color hdrdefault cyan default -color indicator black cyan -color markers brightred default -color quoted green default -color signature cyan default -color status brightgreen blue -color tilde blue default -color tree red default -color body brightred default [\-\.+_a-zA-Z0-9]+@[\-\.a-zA-Z0-9]+ -color body brightblue default (https?|ftp)://[\-\.\,/%~_:?\#a-zA-Z0-9]+ -color quoted1 brightyellow default -color quoted2 red default -color index green default ~p -color index brightyellow default ~N -color index brightyellow default ~O -color index blue default ~T -color index red default ~D -color index brightblue default ~F diff --git a/email/.mutt/gpg.muttrc b/email/.mutt/gpg.muttrc deleted file mode 100644 index 87d7316..0000000 --- a/email/.mutt/gpg.muttrc +++ /dev/null @@ -1,6 +0,0 @@ -set crypt_use_gpgme=yes -set crypt_autosign -set crypt_replysign -set crypt_replysignencrypted=yes -set crypt_verify_sig=yes -message-hook '!(~g|~G) ~b"^-----BEGIN\ PGP\ (SIGNED\ )?MESSAGE"' "exec check-traditional-pgp" diff --git a/email/.mutt/muttrc b/email/.mutt/muttrc deleted file mode 100644 index f0cf66b..0000000 --- a/email/.mutt/muttrc +++ /dev/null @@ -1,44 +0,0 @@ -# General -set editor=`echo \$EDITOR` -set send_charset="us-ascii:utf-8" -set edit_headers=yes - -unset user_agent -my_hdr User-Agent: No You Don't Get My User-Agent 1.0 -set realname="Camil Staps" -set use_from=yes -set envelope_from=yes -set send_charset="us-ascii:utf-8" - -macro index,pager $ "<shell-escape>offlineimap; echo done<enter><sync-mailbox>" "Refresh" -macro pager,attach B "<pipe-entry>firefox \"data:text/html;base64,$(base64 -w 0 <&0)\"<enter>" - -set mbox_type=Maildir -set folder="/home/camil/.mutt/mail/" - -set sort_browser=alpha -set sort=threads -set sort_aux=date -set duplicate_threads=yes - -ignore headers * -unignore headers from to subject date cc - -set pager_index_lines=20 -set pager_context=3 -set pager_stop -set menu_scroll -set tilde -set quote_regexp="^( {0,4}[>|:#%]| {0,4}[a-z0-9]+[>|]+)+" - -source ~/.mutt/mailboxes - -source ~/.mutt/colourscheme.muttrc -source ~/.mutt/gpg.muttrc -source ~/.mutt/sidebar.muttrc - -source ~/.mutt/accounts/personal.muttrc - -folder-hook ./Personal/* source ~/.mutt/accounts/personal.muttrc -folder-hook ./ViviSoft/* source ~/.mutt/accounts/vivisoft.muttrc -folder-hook ./Radboud/* source ~/.mutt/accounts/radboud.muttrc diff --git a/email/.mutt/sidebar.muttrc b/email/.mutt/sidebar.muttrc deleted file mode 100644 index e186d78..0000000 --- a/email/.mutt/sidebar.muttrc +++ /dev/null @@ -1,16 +0,0 @@ -# Settings -set sidebar_visible = yes -set sidebar_width = 45 -set sidebar_next_new_wrap = yes -set mail_check_stats -set sidebar_format = '%B%?F? [%F]?%* %?N?%N/?%S' -set sidebar_sort_method = 'path' - -# Keybindings -bind index,pager \Cj sidebar-prev -bind index,pager \Ck sidebar-next -bind index,pager \Cl sidebar-open -#bind index,pager B sidebar-toggle-visible - -# Colors -color indicator cyan black diff --git a/email/.notmuch-config b/email/.notmuch-config deleted file mode 100644 index 4ffdc3a..0000000 --- a/email/.notmuch-config +++ /dev/null @@ -1,88 +0,0 @@ -# .notmuch-config - Configuration file for the notmuch mail system -# -# For more information about notmuch, see http://notmuchmail.org - -# Database configuration -# -# The only value supported here is 'path' which should be the top-level -# directory where your mail currently exists and to where mail will be -# delivered in the future. Files should be individual email messages. -# Notmuch will store its database within a sub-directory of the path -# configured here named ".notmuch". -# -[database] -path=/home/camil/.mutt/mail - -# User configuration -# -# Here is where you can let notmuch know how you would like to be -# addressed. Valid settings are -# -# name Your full name. -# primary_email Your primary email address. -# other_email A list (separated by ';') of other email addresses -# at which you receive email. -# -# Notmuch will use the various email addresses configured here when -# formatting replies. It will avoid including your own addresses in the -# recipient list of replies, and will set the From address based on the -# address to which the original email was addressed. -# -[user] -name=Camil Staps -primary_email=info@camilstaps.nl -other_email=info@vivisoft.nl;c.staps@student.ru.nl;pd7lol@camilstaps.nl; - -# Configuration for "notmuch new" -# -# The following options are supported here: -# -# tags A list (separated by ';') of the tags that will be -# added to all messages incorporated by "notmuch new". -# -# ignore A list (separated by ';') of file and directory names -# that will not be searched for messages by "notmuch new". -# -# NOTE: *Every* file/directory that goes by one of those -# names will be ignored, independent of its depth/location -# in the mail store. -# -[new] -tags=unread;inbox; -ignore= - -# Search configuration -# -# The following option is supported here: -# -# exclude_tags -# A ;-separated list of tags that will be excluded from -# search results by default. Using an excluded tag in a -# query will override that exclusion. -# -[search] -exclude_tags=deleted;spam; - -# Maildir compatibility configuration -# -# The following option is supported here: -# -# synchronize_flags Valid values are true and false. -# -# If true, then the following maildir flags (in message filenames) -# will be synchronized with the corresponding notmuch tags: -# -# Flag Tag -# ---- ------- -# D draft -# F flagged -# P passed -# R replied -# S unread (added when 'S' flag is not present) -# -# The "notmuch new" command will notice flag changes in filenames -# and update tags, while the "notmuch tag" and "notmuch restore" -# commands will notice tag changes and update flags in filenames -# -[maildir] -synchronize_flags=true diff --git a/email/.offlineimaprc b/email/.offlineimaprc deleted file mode 100644 index 6c07a1b..0000000 --- a/email/.offlineimaprc +++ /dev/null @@ -1,62 +0,0 @@ -[general] -pythonfile = ~/aux/offlineimap.py -ui = quiet -accounts = Personal,ViviSoft,Radboud - -[Account Personal] -localrepository = Personal-Local -remoterepository = Personal-Remote - -[Repository Personal-Local] -type = Maildir -localfolders = ~/.mutt/mail/Personal - -[Repository Personal-Remote] -type = IMAP -remotepasseval = passwd('Personal/Email info@camilstaps.nl') -remotehost = mail.camilstaps.nl -remoteuser = info@camilstaps.nl -ssl = yes -cert_fingerprint = c74f6f6e0cd2a8a7c905b620ea79e7d7e589778c - -[Account ViviSoft] -localrepository = ViviSoft-Local -remoterepository = ViviSoft-Remote - -[Repository ViviSoft-Local] -type = Maildir -localfolders = ~/.mutt/mail/ViviSoft - -[Repository ViviSoft-Remote] -type = IMAP -remotepasseval = passwd('ViviSoft/eMail/Email info@vivisoft.nl') -remotehost = mail.vivisoft.nl -remoteuser = info@vivisoft.nl -ssl = yes -cert_fingerprint = 708c7200cbd1f91da214f9406d784380fd2fa72e - -[Account Radboud] -localrepository = Radboud-Local -remoterepository = Radboud-Remote - -[Repository Radboud-Local] -type = Maildir -localfolders = ~/.mutt/mail/Radboud - -[Repository Radboud-Remote] -type = IMAP -remotepasseval = passwd('Personal/Radboud') -remotehost = mail.ru.nl -remoteuser = c.staps@student.ru.nl -ssl = yes - -[mbnames] -enabled = yes -filename = ~/.mutt/mailboxes -header = "mailboxes " -peritem = "~/.mutt/mail/%(accountname)s/%(foldername)s" -sep = " " -footer = "\n" -incremental = "yes" - -; vim: set ft=dosini: diff --git a/email/aux/offlineimap.py b/email/aux/offlineimap.py deleted file mode 100644 index 8fdfddd..0000000 --- a/email/aux/offlineimap.py +++ /dev/null @@ -1,7 +0,0 @@ -import subprocess - -def passwd(name): - print("pass '" + name + "'") - return subprocess.\ - check_output("pass '" + name + "'", shell='/bin/bash').\ - splitlines()[0].strip() |