From 3acab0ff8455a86555fc49bf28b44761f2898fa0 Mon Sep 17 00:00:00 2001 From: CramMK Date: Thu, 20 Feb 2020 09:30:21 +0100 Subject: [PATCH] Add mutt and change wallpaper dir --- config.yaml | 12 +++ dotfiles/mutt.themes/gruvbox.theme | 81 ++++++++++++++++++ dotfiles/muttrc | 40 +++++++++ dotfiles/vimrc | 7 +- .../{wallpaper.png => minimal-forest.png} | Bin ...llpaper_genuaW.png => wallpaper-genua.png} | Bin dotfiles/xinitrc | 2 +- 7 files changed, 140 insertions(+), 2 deletions(-) create mode 100644 dotfiles/mutt.themes/gruvbox.theme create mode 100755 dotfiles/muttrc rename dotfiles/wallpaper/{wallpaper.png => minimal-forest.png} (100%) rename dotfiles/wallpaper/{wallpaper_genuaW.png => wallpaper-genua.png} (100%) diff --git a/config.yaml b/config.yaml index 84df6b9..3980471 100644 --- a/config.yaml +++ b/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 diff --git a/dotfiles/mutt.themes/gruvbox.theme b/dotfiles/mutt.themes/gruvbox.theme new file mode 100644 index 0000000..0b958af --- /dev/null +++ b/dotfiles/mutt.themes/gruvbox.theme @@ -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 "[;:]-*[)>( sidebar-prev +bind index,pager sidebar-next +bind index,pager sidebar-open + +# ETC +set mail_check = 10 +set timeout = 10 +set move = no +set editor = "vim" +set edit_headers = yes diff --git a/dotfiles/vimrc b/dotfiles/vimrc index 35e3325..e4cd179 100644 --- a/dotfiles/vimrc +++ b/dotfiles/vimrc @@ -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 diff --git a/dotfiles/wallpaper/wallpaper.png b/dotfiles/wallpaper/minimal-forest.png similarity index 100% rename from dotfiles/wallpaper/wallpaper.png rename to dotfiles/wallpaper/minimal-forest.png diff --git a/dotfiles/wallpaper/wallpaper_genuaW.png b/dotfiles/wallpaper/wallpaper-genua.png similarity index 100% rename from dotfiles/wallpaper/wallpaper_genuaW.png rename to dotfiles/wallpaper/wallpaper-genua.png diff --git a/dotfiles/xinitrc b/dotfiles/xinitrc index 164bf0f..f48d9e0 100755 --- a/dotfiles/xinitrc +++ b/dotfiles/xinitrc @@ -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 @@%}