summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2019-06-11 13:37:57 +0200
committerUrbain Vaes <urbain@vaes.uk>2019-06-11 13:37:57 +0200
commitcc9a6ce9c66adc34ef5513d73a584372d7a75f6c (patch)
tree12aae67002f83b48f581394bf8ebd80a796805dd
parent9ca2fa04fff2f723ad03a73d725bda2f438b2068 (diff)
Add mailcap for webm videos
-rw-r--r--mutt/.mutt/mailcap1
-rw-r--r--pdfpc/.config/pdfpc/pdfpcrc1
-rw-r--r--xdg-open/.config/mimeapps.list1
3 files changed, 3 insertions, 0 deletions
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 <file>
[Default Applications]
+video/webm=mpv.desktop;
audio/mpeg=mpv.desktop;
text/plain=nvim.desktop;
image/jpeg=feh.desktop;