From cc9a6ce9c66adc34ef5513d73a584372d7a75f6c Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Tue, 11 Jun 2019 13:37:57 +0200 Subject: Add mailcap for webm videos --- mutt/.mutt/mailcap | 1 + pdfpc/.config/pdfpc/pdfpcrc | 1 + xdg-open/.config/mimeapps.list | 1 + 3 files changed, 3 insertions(+) diff --git a/mutt/.mutt/mailcap b/mutt/.mutt/mailcap index 181c7de..0435c6c 100644 --- a/mutt/.mutt/mailcap +++ b/mutt/.mutt/mailcap @@ -3,4 +3,5 @@ text/html; mv %s %s.html && qutebrowser %s.html >/dev/null 2>/dev/null; needster text/html; w3m -I %{charset} -dump %s; nametemplate=%s.html; copiousoutput text/plain; more %s; image/*; feh %s +video/*; xdg-open %s application/pdf; zathura %s diff --git a/pdfpc/.config/pdfpc/pdfpcrc b/pdfpc/.config/pdfpc/pdfpcrc index 6b54c9b..bc8e66b 100644 --- a/pdfpc/.config/pdfpc/pdfpcrc +++ b/pdfpc/.config/pdfpc/pdfpcrc @@ -2,3 +2,4 @@ bind Escape switchMode normal bind o switchMode pointer bind e switchMode pen bind u switchMode eraser +bind q clearDrawing diff --git a/xdg-open/.config/mimeapps.list b/xdg-open/.config/mimeapps.list index a8d5c75..2e38c81 100644 --- a/xdg-open/.config/mimeapps.list +++ b/xdg-open/.config/mimeapps.list @@ -6,6 +6,7 @@ # To set default # mimeopen -d [Default Applications] +video/webm=mpv.desktop; audio/mpeg=mpv.desktop; text/plain=nvim.desktop; image/jpeg=feh.desktop; -- cgit v1.2.3