From 8a8223774923e80d3a65660b8e2329be30f776da Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Sat, 6 May 2023 15:49:39 +0100 Subject: Adds working neomutt config - offlineimap too --- mutt/aliases | 1 - mutt/colours | 11 ++++------- mutt/mailcap | 18 +++++++----------- mutt/signature | 4 +++- mutt/subscriptions | 4 ---- mutt/view_attachment.sh | 2 +- 6 files changed, 15 insertions(+), 25 deletions(-) (limited to 'mutt') diff --git a/mutt/aliases b/mutt/aliases index 0db715b..fab124a 100644 --- a/mutt/aliases +++ b/mutt/aliases @@ -6,4 +6,3 @@ alias henry Gavin Macfarlane alias dan Daniel Barwick alias neil Neil Byrne alias Keiron Keiron Hart -alias openbsdlists diff --git a/mutt/colours b/mutt/colours index 934de67..2f57890 100644 --- a/mutt/colours +++ b/mutt/colours @@ -1,5 +1,8 @@ ## Theme kindly inspired from ## http://nongeekshandbook.blogspot.ie/2009/03/mutt-color-configuration.html + + +## Colours for items in the index #color index blue default ~N color index brightblue default ~N color index brightred black ~O @@ -9,13 +12,11 @@ color index brightred black ~D color index magenta default ~Q # replied-to #color index black yellow ~U color index red default ~T -color sidebar_highlight color221 color233 mono index bold ~N mono index bold ~F mono index bold ~T mono index bold ~D - ## Highlights inside the body of a message. ## URLs @@ -72,11 +73,7 @@ color quoted6 red black color quoted7 green black ## Default color definitions -#color hdrdefault white green - -# Progress bar - neomutt -color progress white red - +#color hdrdefault white green color normal white default color signature brightmagenta black color indicator black cyan diff --git a/mutt/mailcap b/mutt/mailcap index 51443c1..3657f08 100644 --- a/mutt/mailcap +++ b/mutt/mailcap @@ -2,24 +2,20 @@ # DONT HAVE A SOLUTION YET: application/msword; ~/.mutt/view_attachment.sh %s "-" '/Applications/TextEdit.app' # Images -image/jpg; ~/.mutt/view_attachment.sh %s jpg eog -image/jpeg; ~/.mutt/view_attachment.sh %s jpg eog -image/pjpeg; ~/.mutt/view_attachment.sh %s jpg eog -image/png; ~/.mutt/view_attachment.sh %s png eog -image/gif; ~/.mutt/view_attachment.sh %s gif eog -# -# patches -text/x-patch; vimdiff '%s'; needsterminal +image/jpg; ~/.mutt/view_attachment.sh %s jpg feh +image/jpeg; ~/.mutt/view_attachment.sh %s jpg feh +image/pjpeg; ~/.mutt/view_attachment.sh %s jpg gpicview +image/png; ~/.mutt/view_attachment.sh %s png gpicview +image/gif; ~/.mutt/view_attachment.sh %s gif gpicview # PDFs -application/pdf; ~/.mutt/view_attachment.sh %s pdf evince +application/pdf; ~/.mutt/view_attachment.sh %s pdf zathura # HTML #text/html; ~/.mutt/view_attachment.sh %s html w3m # try different # text/html; w3m %s; nametemplate=%s.html # text/html; w3m -dump %s; nametemplate=%s.html; copiousoutput -# text/html; lynx -dump %s; nametemplate=%s.html; copiousoutput -text/html; firefox %s; nametemplate=%s.html +text/html; lynx -dump %s; nametemplate=%s.html; copiousoutput # Plain Text text/plain; cat; copiousoutput; edit=$VISUAL %s diff --git a/mutt/signature b/mutt/signature index 0b4207a..c375431 100644 --- a/mutt/signature +++ b/mutt/signature @@ -1 +1,3 @@ -Matthew + +Matthew Lemon +Email: matt@matthewlemon.com diff --git a/mutt/subscriptions b/mutt/subscriptions index bfadc6d..3b7eac4 100644 --- a/mutt/subscriptions +++ b/mutt/subscriptions @@ -1,7 +1,3 @@ subscribe debian-user@lists.debian.org subscribe python-list subscribe ubuntu-news@lists.ubuntu.com -subscribe announce@openbsd.org -subscribe gabor@szabgab.com -subscribe misc@openbsd.org -subscribe ports@openbsd.org diff --git a/mutt/view_attachment.sh b/mutt/view_attachment.sh index a7651b4..f391399 100755 --- a/mutt/view_attachment.sh +++ b/mutt/view_attachment.sh @@ -1,4 +1,4 @@ -#!/usr/bin/bash +#!/bin/bash # # Author: Eric Gebhart # -- cgit v1.2.3