From 890e749beac3bece396716e9fbdc51b78219dfdc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?= Date: Thu, 2 Nov 2023 01:24:17 +0300 Subject: mime associations update * Use zathura directly instead of a specific engine. * Association for youtube short videos. --- dotfiles/.config/mimeapps.list | 6 ++++-- dotfiles/.config/mimeo/associations.txt | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/dotfiles/.config/mimeapps.list b/dotfiles/.config/mimeapps.list index dcff542..239856a 100644 --- a/dotfiles/.config/mimeapps.list +++ b/dotfiles/.config/mimeapps.list @@ -1,6 +1,6 @@ [Default Applications] -application/pdf=org.pwmt.zathura-pdf-mupdf.desktop; -application/epub+zip=org.pwmt.zathura-pdf-mupdf.desktop; +application/pdf=org.pwmt.zathura.desktop; +application/epub+zip=org.pwmt.zathura.desktop; application/rdf+xml=org.qutebrowser.qutebrowser.desktop; application/xhtml+xml=org.qutebrowser.qutebrowser.desktop; application/xml=org.qutebrowser.qutebrowser.desktop; @@ -10,8 +10,10 @@ audio/x-xm=mpv.desktop; audio/x-mod=mpv.desktop; audio/x-it=mpv.desktop; audio/x-dsf=mpv.desktop; +audio/vnd.wave=mpv.desktop; application/x-object=mpv.desktop; application/octet-stream=mpv.desktop; +image/apng=nsxiv.desktop; image/bmp=nsxiv.desktop; image/gif=nsxiv.desktop; image/jpeg=nsxiv.desktop; diff --git a/dotfiles/.config/mimeo/associations.txt b/dotfiles/.config/mimeo/associations.txt index 651fc94..f429a5d 100644 --- a/dotfiles/.config/mimeo/associations.txt +++ b/dotfiles/.config/mimeo/associations.txt @@ -1,5 +1,6 @@ mpv -quiet %U >/dev/null 2>&1 ^https?://(www.)?youtube.com/watch\?.*v= + ^https?://(www.)?youtube.com/shorts/ ^https?://(music.)?youtube.com/watch\?.*v= ^https?://youtu.be/ ^https?://.*\.mkv -- cgit v1.2.3