Pārlūkot izejas kodu

added mutt

master
mort pirms 9 gadiem
vecāks
revīzija
4b29c82a98
3 mainītis faili ar 126 papildinājumiem un 0 dzēšanām
  1. 122
    0
      dotfiles/muttrc
  2. 3
    0
      dotfiles/wmrc
  3. 1
    0
      setup.sh

+ 122
- 0
dotfiles/muttrc Parādīt failu

@@ -0,0 +1,122 @@
set my_name = "Martin Dørum Nygaard"
set imap_user = "martid0311@gmail.com"

## Get the password from a file
source ~/.muttpass

set folder = "imaps://imap.gmail.com/"
set spoolfile = +INBOX
set imap_check_subscribed
set header_cache = ~/.cache/mutt
set message_cachedir = ~/.cache/mutt
set postponed = +[Gmail]/Drafts
unset imap_passive
set imap_keepalive = 300
set record = +Sent
set realname = $my_name
set from = "martid0311@gmail.com"
set use_from = yes
set smtp_url = smtps://$imap_user:$imap_pass@smtp.gmail.com
set ssl_force_tls = yes

## Editor
set editor = "vim"

## Keybinds
bind generic t "previous-entry"
bind generic n "next-entry"

bind index t "previous-undeleted"
bind index n "next-undeleted"

bind pager <backspace> "exit"
bind pager t "previous-undeleted"
bind pager n "next-undeleted"

## Theme kindly inspired from
## http://nongeekshandbook.blogspot.ie/2009/03/mutt-color-configuration.html

## Colours for items in the index
color index brightcyan black ~N
color index brightred black ~O
color index brightyellow black ~F
color index black green ~T
color index brightred black ~D
mono index bold ~N
mono index bold ~F
mono index bold ~T
mono index bold ~D

## Highlights inside the body of a message.

## URLs
color body brightgreen black "(http|ftp|news|telnet|finger)://[^ \"\t\r\n]*"
color body brightgreen black "mailto:[-a-z_0-9.]+@[-a-z_0-9.]+"
mono body bold "(http|ftp|news|telnet|finger)://[^ \"\t\r\n]*"
mono body bold "mailto:[-a-z_0-9.]+@[-a-z_0-9.]+"

## Email addresses.
color body brightgreen black "[-a-z_0-9.%$]+@[-a-z_0-9.]+\\.[-a-z][-a-z]+"

## Header
color header green black "^from:"
color header green black "^to:"
color header green black "^cc:"
color header green black "^date:"
color header yellow black "^newsgroups:"
color header yellow black "^reply-to:"
color header brightcyan black "^subject:"
color header red black "^x-spam-rule:"
color header green black "^x-mailer:"
color header yellow black "^message-id:"
color header yellow black "^Organization:"
color header yellow black "^Organisation:"
color header yellow black "^User-Agent:"
color header yellow black "^message-id: .*pine"
color header yellow black "^X-Fnord:"
color header yellow black "^X-WebTV-Stationery:"

color header red black "^x-spam-rule:"
color header green black "^x-mailer:"
color header yellow black "^message-id:"
color header yellow black "^Organization:"
color header yellow black "^Organisation:"
color header yellow black "^User-Agent:"
color header yellow black "^message-id: .*pine"
color header yellow black "^X-Fnord:"
color header yellow black "^X-WebTV-Stationery:"
color header yellow black "^X-Message-Flag:"
color header yellow black "^X-Spam-Status:"
color header yellow black "^X-SpamProbe:"
color header red black "^X-SpamProbe: SPAM"

## Coloring quoted text - coloring the first 7 levels:
color quoted cyan black
color quoted1 yellow black
color quoted2 red black
color quoted3 green black
color quoted4 cyan black
color quoted5 yellow black
color quoted6 red black
color quoted7 green black

## Default color definitions
#color hdrdefault white green
color signature brightmagenta black
color indicator black cyan
color attachment black green
color error red black
color message white black
color search brightwhite magenta
color status brightyellow blue
color tree brightblue black
color normal white black
color tilde green black
color bold brightyellow black
#color underline magenta black
color markers brightcyan black

## Colour definitions when on a mono screen
mono bold bold
mono underline underline
mono indicator reverse

+ 3
- 0
dotfiles/wmrc Parādīt failu

@@ -10,3 +10,6 @@ xmodmap .Xmodmaprc
sxhkd -c ~/.sxhkdrc &

sh ~/.startup.sh

synclient RTCornerButton=0
synclient VertEdgeScroll=0

+ 1
- 0
setup.sh Parādīt failu

@@ -44,6 +44,7 @@ check_command "notify-send" "terminal-notifier"
check_command "dunst" "terminal-notifier"
check_command "curl"
check_command "sudo"
check_command "mutt"

if [ $issues -ne 0 ]; then
echo "Some things are missing. Continue? (y/n)"

Notiek ielāde…
Atcelt
Saglabāt