From ec12e6e65591b10165c6ea73aebc4b99bcb2ef67 Mon Sep 17 00:00:00 2001 From: jao Date: Mon, 3 Oct 2022 02:30:46 +0100 Subject: mailcap: mime types are regexps --- custom/jao-custom-notmuch.el | 3 +-- init.el | 8 ++++---- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/custom/jao-custom-notmuch.el b/custom/jao-custom-notmuch.el index 4938e01..1dc5fc8 100644 --- a/custom/jao-custom-notmuch.el +++ b/custom/jao-custom-notmuch.el @@ -220,8 +220,7 @@ ;;; package ;; (add-to-list 'load-path "/usr/local/share/emacs/site-lisp/") - -(jao-load-path "notmuch/emacs") +(jao-load-path "notmuch") (use-package notmuch :init diff --git a/init.el b/init.el index 7aafeff..0cf24bb 100644 --- a/init.el +++ b/init.el @@ -259,11 +259,11 @@ ("emacsclient -e '(jao-icalendar-import-invite \"%s\")'" "application/ics") (doc-view-mode "application/pdf" (display-graphic-p)) ("zathura \"%s\"" "application/pdf") - ;; (image-mode "image/*" (display-graphic-p)) + (image-mode "image/.*" (display-graphic-p)) ("firefox %s && riverctl set-focused-tags 2" "text/html" jao-river-enabled) - ("swayimg \"%s\"" "image/*" jao-sway-enabled) - ("imv-wayland \"%s\"" "image/*" jao-wayland-enabled) - ("imv-x11 \"%s\"" "image/*"))))) + ("swayimg \"%s\"" "image/.*" jao-sway-enabled) + ("imv-wayland \"%s\"" "image/.*" jao-wayland-enabled) + ("imv-x11 \"%s\"" "image/.*"))))) ;;; Crypto ;;;; PGP, EPG, passwords -- cgit v1.2.3