dotfiles

$HOME is where the <3 is
git clone git://git.alexkarle.com/dotfiles.git
Log | Files | Refs | Submodules | README

commit a8b3969199f1d4c297428ae3d4c2ecac983dfa88 (patch)
parent 55fa1877fdf6bfb6388ac54a74ef096338da0c3a
Author: Alex Karle <alex@karle.co>
Date:   Thu, 28 May 2020 00:19:32 -0400

cleanup: Remove offlineimap config

I don't frequently delete old dotfiles, on the offchance I'm on a
machine where I can't install my preferred tool and have to resort to a
backup (and look, hey! I've got a config for that).

screen is a great example of this -- never used, really, but not
inconceivable that it might be of use one day where tmux isn't
available.

offlineimap is not one of those "maybe I'll need this" cases.

Diffstat:
Dofflineimap/config | 19-------------------
Dofflineimap/get_pass.py | 12------------
2 files changed, 0 insertions(+), 31 deletions(-)

diff --git a/offlineimap/config b/offlineimap/config @@ -1,19 +0,0 @@ -[general] -accounts = karleco -pythonfile = ~/.config/offlineimap/get_pass.py - -[Account karleco] -localrepository = karleco-local -remoterepository = karleco-remote - -[Repository karleco-local] -type = Maildir -localfolders = ~/mail - -[Repository karleco-remote] -type = IMAP -remotehost = imap.fastmail.com -remoteuser = alex@karle.co -expunge = no -sslcacertfile = /etc/ssl/certs/ca-certificates.crt -remotepasseval = get_pass() diff --git a/offlineimap/get_pass.py b/offlineimap/get_pass.py @@ -1,12 +0,0 @@ -#!/usr/bin/env python2 -# Small python script to retrieve encrypted gpg email password -# Heavily inspired by Arch Wiki's offlineimap docs -from subprocess import check_output - -def get_pass(): - return check_output("pash show mail/karleco", shell=True).strip("\n") - -# If called via CLI, output the password to STDOUT -# Useful for things like GIT_ASKPASS -if __name__ == "__main__": - print(get_pass())