diff options
-rw-r--r-- | home-configuration.scm | 6 | ||||
-rw-r--r-- | mailcap | 9 | ||||
-rw-r--r-- | muttrc | 4 |
3 files changed, 15 insertions, 4 deletions
diff --git a/home-configuration.scm b/home-configuration.scm index 89e0d74f..c77debb8 100644 --- a/home-configuration.scm +++ b/home-configuration.scm @@ -99,7 +99,7 @@ replacement spec (to which `regexp-substitute/global' is applied)." '(;; i3 and Xorg. i3 itself must be installed system-wide for gdm to pick it up. ;; acpilight is a drop-in xbacklight replacement, as xbacklight doesn't work on my system. "acpilight" "arandr" "blueman" "dunst" "gnupg" "gimp" "hsetroot" - "inkscape" "icecat" "kdeconnect" "libreoffice" "mpv" "nheko" "neomutt" + "inkscape" "icecat" "kdeconnect" "libreoffice" "mpv" "nheko" "password-store" "pass-otp" "polybar" "rofi" "rofi-calc" "signal-desktop" "simple-scan" "xdg-utils" "xdot" "xclip" "xdotool" "xdpyinfo" "xev" "xfd" "xfontsel" "xinput" "xkill" "xprop" "xrandr" "xrdb" "xsel" "xset" "xwininfo" @@ -401,6 +401,7 @@ replacement spec (to which `regexp-substitute/global' is applied)." "recutils" "rsync" "sbcl" "smartmontools" "source-highlight" "tk" "tmux" "tree" "xxd" "zip" "unzip" "get-iplayer" "ffmpeg" "atomicparsley" "yt-dlp" + "neomutt" "mailcap" "lynx" ; mail (lynx for HTML mail) ;; Work "s3cmd" "python-alibuild" ; "python-alidistlint" @@ -523,7 +524,8 @@ replacement spec (to which `regexp-substitute/global' is applied)." (simple-service 'terminal-files home-files-service-type - `(;; GnuPG config files must be in ~/.local/share/gnupg, not ~/.config, + `((".mailcap" ,(local-file "mailcap")) + ;; GnuPG config files must be in ~/.local/share/gnupg, not ~/.config, ;; so we can't use `home-xdg-configuration-files-service-type'. (".local/share/gnupg/gpg.conf" ,(local-file "gpg.conf")) (".local/share/gnupg/gpg-agent.conf" diff --git a/mailcap b/mailcap new file mode 100644 index 00000000..4636164a --- /dev/null +++ b/mailcap @@ -0,0 +1,9 @@ +# mailcap -*- conf-space -*- +# When using `auto_view <mimetype>` in muttrc, a command for that MIME type is +# chosen, only considering those with copiousoutput set. Its output is displayed +# in place of the attachment directly in the message view. + +text/html; lynx -dump %s; copiousoutput; nametemplate=%s.html +image/*; kitty +kitten icat %s; copiousoutput +audio/*; mpv --no-video %s +application/pdf; zathura %s; nametempalte=%s.pdf @@ -58,8 +58,8 @@ set header_cache = `echo "\$XDG_CACHE_HOME/neomutt/"` alternative_order text/plain text/enriched text/html text image auto_view text/html image/jpeg image/png -# needed for catimg -set allow_ansi = yes +# needed for catimg and the like +set allow_ansi set my_mythic = "imaps://oncilla.mythic-beasts.com/" account-hook "$my_mythic" 'set folder = "$my_mythic"' |