aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--i3/.config/i3/config1
-rwxr-xr-xinstall.sh29
-rw-r--r--mutt/.mutt/mailcap2
-rw-r--r--mutt/.muttrc16
4 files changed, 36 insertions, 12 deletions
diff --git a/i3/.config/i3/config b/i3/.config/i3/config
index 9f2575a..70e5283 100644
--- a/i3/.config/i3/config
+++ b/i3/.config/i3/config
@@ -336,3 +336,4 @@ exec /home/neodarz/.screenlayout/default.sh
exec feh --bg-scale /home/neodarz/wallpaper_animated/black.png
#exec /home/neodarz/wallpaper_animated/wall.sh /home/neodarz/wallpaper_animated/8bit_battle_preparation.gif
exec setxkbmap fr
+exec systemctl --user start twmnd.service
diff --git a/install.sh b/install.sh
index 8be0c69..de062e0 100755
--- a/install.sh
+++ b/install.sh
@@ -1,29 +1,28 @@
#!/bin/sh
-#yaourt -S qterminal
-##yaourt -S Atom
+# `yolo` is alias to `n yaourt --noconfirm` where `n` is aliased to `notify` which is aliased to `~/.scripts/notify`
+#yolo -S qterminal
+##yolo -S Atom
##apm install atom-material-ui
##apm install atom-material-syntax-dark
##apm install vim-mode-plus
#apm install project-plus
-#yaourt -S fira-code-git
-yaourt -S otf-fira-code
+#yolo -S fira-code-git
+yolo -S otf-fira-code
#wget https://bootstrap.pypa.io/get-pip.py
-#yaourt -S wget
+#yolo -S wget
#sudo python get-pip.py
#sudo pip install i3pystatus
#sudo pip install colour
#sudo pip install netifaces
#sudo pip install basiciw
-#yaourt -S py3status
-#yaourt -S firefox
-#yaourt -S newsbeuter
-#yaourt -S mosh
+#yolo -S py3status
+#yolo -S firefox
+#yolo -S newsbeuter
+#yolo -S mosh
#sudo pacman -S the_silver_searcher
-## TODO: install this: mutt stow
-
-##yaourt -S thunderbird
+##yolo -S thunderbird
#sudo pacman -R clipit
@@ -54,3 +53,9 @@ yaourt -S otf-fira-code
#git clone https://github.com/vundlevim/vundle.vim.git ~/.config/nvim/bundle/Vundle.vim
#sudo pacman -S python-neovim
+
+## Install mutt
+
+# yolo Module::Install # <== required by html-view
+# yolo htmail-view
+# stow mutt
diff --git a/mutt/.mutt/mailcap b/mutt/.mutt/mailcap
new file mode 100644
index 0000000..cc5c14f
--- /dev/null
+++ b/mutt/.mutt/mailcap
@@ -0,0 +1,2 @@
+text/html; htmail-view file://%s; test=test -n "$DISPLAY"; nametemplate=%s.html; needsterminal;
+text/html; w3m -I %{charset} -T text/html; copiousoutput;
diff --git a/mutt/.muttrc b/mutt/.muttrc
index 0b2dab7..1a23f62 100644
--- a/mutt/.muttrc
+++ b/mutt/.muttrc
@@ -107,3 +107,19 @@ mono body bold "[-a-z_0-9.%$]+@[-a-z_0-9.]+\\.[-a-z][-a-z]+"
#color body brightblue white "(^|[[:space:]])\\*[^[:space:]]+\\*([[:space:]]|$)" # *Bold* text.
#color body brightblue white "(^|[[:space:]])_[^[:space:]]+_([[:space:]]|$)" # _Underlined_ text.
#color body brightblue white "(^|[[:space:]])/[^[:space:]]+/([[:space:]]|$)" # /Italic/ text.
+
+# prefer plain text
+alternative_order text/plain text/enriched text/html
+
+# auto convert text/html MIME type to text/plain
+auto_view text/html
+
+# run viewer defined in mailcap by <return> in attach view
+bind attach <return> view-mailcap
+
+# mailcap file to use (optional)
+set mailcap_path="~/.mutt/mailcap"
+
+
+# handover mail to htmail-view (works only for multipart mails containing text/html payload)
+macro index,pager H "<pipe-message>htmail-decode<return>" "render html mail using htmail-view"