summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorsinanmohd <sinan@firemail.cc>2023-06-12 21:21:17 +0530
committersinanmohd <sinan@firemail.cc>2023-06-12 21:21:17 +0530
commit31cae6809c7fb9274f3812ef5d340683de345532 (patch)
treee681e9b82a63e799e27b59346f4f422e84e2be85 /.config
parenta03c66ea31c19118fe2aa89b41fa6aca14e605b6 (diff)
mimeapps: configure default programs as per xdg spec
Diffstat (limited to '.config')
-rw-r--r--.config/mimeapps.list40
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;