From 31cae6809c7fb9274f3812ef5d340683de345532 Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Mon, 12 Jun 2023 21:21:17 +0530 Subject: mimeapps: configure default programs as per xdg spec --- .config/mimeapps.list | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .config/mimeapps.list (limited to '.config') diff --git a/.config/mimeapps.list b/.config/mimeapps.list new file mode 100644 index 0000000..3b4bf18 --- /dev/null +++ b/.config/mimeapps.list @@ -0,0 +1,40 @@ +[Default Applications] + +# text +application/json=nvim.desktop; +text/csv=nvim.desktop; +text/html=nvim.desktop; +text/plain=nvim.desktop; +text/x-c=nvim.desktop; +text/xml=nvim.desktop; +text/x-script.python=nvim.desktop; +text/x-shellscript=nvim.desktop; + +# image +image/avif=imv.desktop; +image/gif=mpv.desktop; +image/heic=imv.desktop; +image/jpeg=imv.desktop; +image/png=imv.desktop; +image/svg+xml=imv.desktop; +image/webp=imv.desktop; +image/x-jxl=imv.desktop; + +# media +audio/basic=mpv.desktop; +audio/mpeg=mpv.desktop; +audio/ogg=mpv.desktop; +video/mp4=mpv.desktop; +video/webm=mpv.desktop; +video/x-matroska=mpv.desktop; + +# browser +x-scheme-handler/about=linkhandler.desktop; +x-scheme-handler/http=linkhandler.desktop; +x-scheme-handler/https=linkhandler.desktop; +x-scheme-handler/unknown=linkhandler.desktop; + +# misc +application/pdf=org.pwmt.zathura.desktop; +font/sfnt=org.gnome.font-viewer.desktop; +inode/directory=nnn.desktop; -- cgit v1.2.3