Add mutt and change wallpaper dir
This commit is contained in:
12
config.yaml
12
config.yaml
@@ -62,6 +62,12 @@ dotfiles:
|
||||
d_wallpaper:
|
||||
src: wallpaper
|
||||
dst: ~/.wallpaper
|
||||
f_muttrc:
|
||||
src: muttrc
|
||||
dst: ~/.muttrc
|
||||
d_mutt_themes:
|
||||
src: mutt.themes
|
||||
dst: ~/.mutt/mutt.themes
|
||||
profiles:
|
||||
laptop:
|
||||
include:
|
||||
@@ -74,6 +80,7 @@ profiles:
|
||||
- tmux
|
||||
- gdb
|
||||
- wallpaper
|
||||
- mutt
|
||||
work:
|
||||
include:
|
||||
- zsh
|
||||
@@ -85,6 +92,7 @@ profiles:
|
||||
- tmux
|
||||
- gdb
|
||||
- wallpaper
|
||||
- mutt
|
||||
dev:
|
||||
include:
|
||||
- zsh
|
||||
@@ -126,3 +134,7 @@ profiles:
|
||||
wallpaper:
|
||||
dotfiles:
|
||||
- d_wallpaper
|
||||
mutt:
|
||||
dotfiles:
|
||||
- f_muttrc
|
||||
- d_mutt_themes
|
||||
|
||||
81
dotfiles/mutt.themes/gruvbox.theme
Normal file
81
dotfiles/mutt.themes/gruvbox.theme
Normal file
@@ -0,0 +1,81 @@
|
||||
# gruvbox dark (contrast dark):
|
||||
|
||||
# bg0 = 234
|
||||
# bg1 = 237
|
||||
# bg2 = 239
|
||||
# bg3 = 241
|
||||
# bg4 = 243
|
||||
#
|
||||
# gray = 245
|
||||
#
|
||||
# fg0 = 229
|
||||
# fg1 = 223
|
||||
# fg2 = 250
|
||||
# fg3 = 248
|
||||
# fg4 = 246
|
||||
#
|
||||
# red = 167
|
||||
# green = 142
|
||||
# yellow = 214
|
||||
# blue = 109
|
||||
# purple = 175
|
||||
# aqua = 108
|
||||
# orange = 208
|
||||
|
||||
|
||||
# See http://www.mutt.org/doc/manual/#color
|
||||
|
||||
color attachment color109 color234
|
||||
color bold color229 color234
|
||||
color error color167 color234
|
||||
color hdrdefault color246 color234
|
||||
color indicator color223 color237
|
||||
color markers color243 color234
|
||||
color normal color223 color234
|
||||
color quoted color250 color234
|
||||
color quoted1 color108 color234
|
||||
color quoted2 color250 color234
|
||||
color quoted3 color108 color234
|
||||
color quoted4 color250 color234
|
||||
color quoted5 color108 color234
|
||||
color search color234 color208
|
||||
color signature color108 color234
|
||||
color status color234 color250
|
||||
color tilde color243 color234
|
||||
color tree color142 color234
|
||||
color underline color223 color239
|
||||
|
||||
color sidebar_divider color250 color234
|
||||
color sidebar_new color142 color234
|
||||
|
||||
color index color142 color234 ~N
|
||||
color index color108 color234 ~O
|
||||
color index color109 color234 ~P
|
||||
color index color214 color234 ~F
|
||||
color index color175 color234 ~Q
|
||||
color index color167 color234 ~=
|
||||
color index color234 color223 ~T
|
||||
color index color234 color167 ~D
|
||||
|
||||
color header color214 color234 "^(To:|From:)"
|
||||
color header color142 color234 "^Subject:"
|
||||
color header color108 color234 "^X-Spam-Status:"
|
||||
color header color108 color234 "^Received:"
|
||||
|
||||
color body color142 color234 "[a-z]{3,256}://[-a-zA-Z0-9@:%._\\+~#=/?&,]+"
|
||||
#color body color142 color234 "[a-zA-Z]([-a-zA-Z0-9_]+\\.){2,256}[-a-zA-Z0-9_]{2,256}"
|
||||
color body color208 color234 "[-a-z_0-9.%$]+@[-a-z_0-9.]+\\.[-a-z][-a-z]+"
|
||||
color body color208 color234 "mailto:[-a-z_0-9.]+@[-a-z_0-9.]+"
|
||||
color body color234 color214 "[;:]-*[)>(<lt;|]"
|
||||
color body color229 color234 "\\*[- A-Za-z]+\\*"
|
||||
|
||||
color body color214 color234 "^-.*PGP.*-*"
|
||||
color body color142 color234 "^gpg: Good signature from"
|
||||
color body color167 color234 "^gpg: Can't.*$"
|
||||
color body color214 color234 "^gpg: WARNING:.*$"
|
||||
color body color167 color234 "^gpg: BAD signature from"
|
||||
color body color167 color234 "^gpg: Note: This key has expired!"
|
||||
color body color214 color234 "^gpg: There is no indication that the signature belongs to the owner."
|
||||
color body color214 color234 "^gpg: can't handle these multiple signatures"
|
||||
color body color214 color234 "^gpg: signature verification suppressed"
|
||||
color body color214 color234 "^gpg: invalid node with packet of type"
|
||||
40
dotfiles/muttrc
Executable file
40
dotfiles/muttrc
Executable file
@@ -0,0 +1,40 @@
|
||||
# CREDENTIALS - Source a local credentials file
|
||||
# MAILBOXES
|
||||
{%@@ if profile == "work" @@%}
|
||||
source ~/.mutt/user.genua
|
||||
{%@@ endif @@%}
|
||||
{%@@ if profile == "laptop" @@%}
|
||||
{%@@ endif @@%}
|
||||
|
||||
# Colorsceme
|
||||
source ~/.mutt/mutt.themes/gruvbox.theme
|
||||
|
||||
# TRASH
|
||||
unset confirmappend
|
||||
folder-hook . set trash="=Trash"
|
||||
folder-hook Trash$ unset trash
|
||||
|
||||
# CACHING
|
||||
set header_cache = "~/.mutt/cache/headers"
|
||||
set message_cachedir = "~/.mutt/cache/bodies"
|
||||
set certificate_file = "~/.mutt/certificates"
|
||||
|
||||
# SORTING
|
||||
set sort_aux = last-date-received
|
||||
set sort = reverse-threads
|
||||
|
||||
# Some handy binds
|
||||
bind index G imap-fetch-mail
|
||||
|
||||
# SIDEBAR - Show mailboxes
|
||||
set sidebar_visible = yes
|
||||
bind index,pager <Up> sidebar-prev
|
||||
bind index,pager <Down> sidebar-next
|
||||
bind index,pager <Right> sidebar-open
|
||||
|
||||
# ETC
|
||||
set mail_check = 10
|
||||
set timeout = 10
|
||||
set move = no
|
||||
set editor = "vim"
|
||||
set edit_headers = yes
|
||||
@@ -91,10 +91,15 @@ set backspace=indent,eol,start
|
||||
set tabstop=4
|
||||
set softtabstop=4
|
||||
set shiftwidth=4
|
||||
" set noexpandtab " tabs are not spaces
|
||||
"set noexpandtab " tabs are not spaces
|
||||
set expandtab " tabs are spaces
|
||||
set smartindent
|
||||
|
||||
" File specific indents
|
||||
autocmd FileType rust setlocal shiftwidth=2 softtabstop=2 expandtab
|
||||
autocmd FileType perl setlocal shiftwidth=4 softtabstop=4 expandtab
|
||||
autocmd FileType yaml setlocal shiftwidth=2 softtabstop=2 expandtab
|
||||
|
||||
" Whitespaces
|
||||
set list
|
||||
"hi SpecialKey ctermbg=Darkgray " colored tabs
|
||||
|
||||
|
Before Width: | Height: | Size: 177 KiB After Width: | Height: | Size: 177 KiB |
|
Before Width: | Height: | Size: 1.7 MiB After Width: | Height: | Size: 1.7 MiB |
@@ -13,7 +13,7 @@ export LANGUAGE="en_US.UTF-8"
|
||||
/share/bin/isda
|
||||
~/bin/.keyboard.scm &
|
||||
xrandr --output HDMI-2 --auto --right-of HDMI-1
|
||||
feh --bg-scale ~/.wallpaper/wallpaper_genuaW.png
|
||||
feh --bg-scale ~/.wallpaper/wallpaper_genua.png
|
||||
i3
|
||||
{%@@ endif @@%}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user