diff options
author | sinanmohd <sinan@firemail.cc> | 2023-06-12 21:21:17 +0530 |
---|---|---|
committer | sinanmohd <sinan@firemail.cc> | 2023-06-12 21:21:17 +0530 |
commit | 31cae6809c7fb9274f3812ef5d340683de345532 (patch) | |
tree | e681e9b82a63e799e27b59346f4f422e84e2be85 | |
parent | a03c66ea31c19118fe2aa89b41fa6aca14e605b6 (diff) |
mimeapps: configure default programs as per xdg spec
-rw-r--r-- | .config/mimeapps.list | 40 |
1 files changed, 40 insertions, 0 deletions
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; |