From 6b9187673ee62d11042832f938913f15131592a7 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 1 Feb 2013 01:25:10 -0200 Subject: Adding metadot script --- modules/mutt/mutt.dot.link/colors | 90 ++++++++++++++++++++++++++++++++++++++ modules/mutt/mutt.dot.link/sidebar | 53 ++++++++++++++++++++++ 2 files changed, 143 insertions(+) create mode 100644 modules/mutt/mutt.dot.link/colors create mode 100644 modules/mutt/mutt.dot.link/sidebar (limited to 'modules/mutt/mutt.dot.link') diff --git a/modules/mutt/mutt.dot.link/colors b/modules/mutt/mutt.dot.link/colors new file mode 100644 index 0000000..c0a01db --- /dev/null +++ b/modules/mutt/mutt.dot.link/colors @@ -0,0 +1,90 @@ +# +# colors configuration +# + +#color attachment brightmagenta black # guess :-) +#color error brightwhite red # errors yell at you in red +#color hdrdefault red black # headers +#color indicator brightyellow red # currently selected message, etc +#color markers brightcyan black # the + for wrapped pager lines +#color message brightcyan black # informational messages, *not mail* +#color normal white black # plain text +#color quoted green black # quoted text +#color search brightgreen black # hilite search patterns in the pager +#color signature red black # signature (after "-- ") is red +#color status brightyellow blue # status bar is yellow *on blue* +#color tilde blue black # ~'s after message body +#color tree red black # thread tree in index menu is magenta + +color normal brightwhite default +color indicator brightyellow red +color status white blue +color hdrdefault cyan default +color header brightyellow default ^Subject: +color header brightgreen default ^From: +color quoted cyan default +color quoted1 green default +color quoted2 cyan default +color quoted3 green default +color attachment yellow default +color signature magenta default +color tree red default +color tilde blue default +color markers red default +color error red default +# hiliting bold patterns in body +color bold red default +# hiliting underlined patterns in body +color underline green default + +# INDEX +############################################################################## + +# unread messages +color index brightyellow black ~U +# new messages +color index brightyellow black ~N +# message in reply to mines +#folder-hook . 'color index brightyellow black "~h @kiwi.shadow.net"' +#folder-hook (Inbox*|Outbox*) 'uncolor index brightyellow black "~h @kiwi.shadow.net"' +# my emails +folder-hook . 'color index yellow black ~P' +# don't highlight them in Outbox* +folder-hook (Outbox*|Draft|Outgoing) 'uncolor index ~P' +# mulherio emails +#color index green black "~f check@thisperson.org" +#color index green black "~f check@thisperson.org" +# the message contains a virus +color index blue black "~h X-Virus-Catched:" +# flagged messages +color index cyan black ~F +# tagged messages +color index blue cyan ~T +# the message is spam +color index brightwhite blue "~h X-Bogosity:\\ Yes" +color index brightwhite red "~h X-Bogosity:\\ Unsure ~U" +# deleted messages +color index brightblack black ~D +# deleted spam messages +color index brightblack blue "~h 'X-Bogosity:\\ Yes' ~D" +# mine deleted messages +color index brightblack black "~D ~P" + + +# BODY +############################################################################### + +# url +color body red black "((ftp|http|https)://|(file|news):|www\\.|ftp\\.)[-a-z0-9_.:]*[a-z0-9](/[^][{} \t\n\r\"<>()]*[^][{} \t\n\r\"<>().,:!])?/?" # url +# email address +color body red black "[-a-z_0-9.]+@[-a-z_0-9.]+" +# smiles +# color body yellow black "[#](:|;)[-^]?[][)(><}{|/DP]" +color body brightyellow black "[;:]-{0,1}[)/(PD|]" +# bold text using +color body yellow black ".+" + +# pgp headers +color body green black "-----END PGP .*-----" +color body green black "-----BEGIN PGP .*-----" + diff --git a/modules/mutt/mutt.dot.link/sidebar b/modules/mutt/mutt.dot.link/sidebar new file mode 100644 index 0000000..248b152 --- /dev/null +++ b/modules/mutt/mutt.dot.link/sidebar @@ -0,0 +1,53 @@ +# +# http://www.die-welt.net/2011/02/desktop-in-a-shell-mutt/ +# http://www.debian-administration.org/articles/523 +# http://www.lunar-linux.org/mutt-sidebar/ +# + +# set up the sidebar, default not visible +set sidebar_width=20 +set sidebar_visible=no +set sidebar_delim='|' +set sidebar_sort=yes + +# which mailboxes to list in the sidebar +mailboxes =inbox =ml + +# color of folders with new mail +color sidebar_new yellow default + +# ctrl-n, ctrl-p to select next, prev folder +# ctrl-o to open selected folder +#bind index CP sidebar-prev +#bind index CN sidebar-next +#bind index CO sidebar-open +#bind pager CP sidebar-prev +#bind pager CN sidebar-next +#bind pager CO sidebar-open +bind index \Cp sidebar-prev +bind index \Cn sidebar-next +bind index \Co sidebar-open +bind pager \Cp sidebar-prev +bind pager \Cn sidebar-next +bind pager \Co sidebar-open + +# I don’t need these. just for documentation purposes. See below. +# sidebar-scroll-up +# sidebar-scroll-down + +# b toggles sidebar visibility +#macro index b ‘toggle sidebar_visible’ +#macro pager b ‘toggle sidebar_visible’ +#macro index b 'toggle sidebar_visible' +#macro pager b 'toggle sidebar_visible' +macro index \Cb 'toggle sidebar_visible' +macro pager \Cb 'toggle sidebar_visible' + +# Remap bounce-message function to “B” +bind index B bounce-message + +# +# Mario Holbe suggests: +# macro index b ‘toggle sidebar_visible’ +# macro pager b ‘toggle sidebar_visible’ +# -- cgit v1.2.3