aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dotfiles/.config/mimeapps.list8
-rw-r--r--dotfiles/.local/share/applications/imv.desktop (renamed from dotfiles/.local/share/applications/imageviewer.desktop)4
-rw-r--r--dotfiles/.local/share/applications/sxiv.desktop8
3 files changed, 15 insertions, 5 deletions
diff --git a/dotfiles/.config/mimeapps.list b/dotfiles/.config/mimeapps.list
index 85e213b..4febfea 100644
--- a/dotfiles/.config/mimeapps.list
+++ b/dotfiles/.config/mimeapps.list
@@ -5,9 +5,11 @@ application/rdf+xml=org.qutebrowser.qutebrowser.desktop;
application/xhtml+xml=org.qutebrowser.qutebrowser.desktop;
application/xml=org.qutebrowser.qutebrowser.desktop;
audio/mpeg=mpv.desktop;
-image/gif=imageviewer.desktop;
-image/jpeg=imageviewer.desktop;
-image/png=imageviewer.desktop;
+audio/x-xm=mpv.desktop;
+audio/x-mod=mpv.desktop;
+image/gif=imv.desktop;
+image/jpeg=sxiv.desktop;
+image/png=sxiv.desktop;
text/html=org.qutebrowser.qutebrowser.desktop;
text/xml=nvim.desktop;
text/plain=nvim.desktop;
diff --git a/dotfiles/.local/share/applications/imageviewer.desktop b/dotfiles/.local/share/applications/imv.desktop
index ba4e1c7..b243a6e 100644
--- a/dotfiles/.local/share/applications/imageviewer.desktop
+++ b/dotfiles/.local/share/applications/imv.desktop
@@ -1,8 +1,8 @@
[Desktop Entry]
-Name=ImageViewer
+Name=imv
GenericName=Image viewer
GenericName[en_US]=Image viewer
-Exec=sxiv-rifle %f
+Exec=imv-rifle %f
NoDisplay=true
Terminal=false
Type=Application
diff --git a/dotfiles/.local/share/applications/sxiv.desktop b/dotfiles/.local/share/applications/sxiv.desktop
new file mode 100644
index 0000000..966e4c0
--- /dev/null
+++ b/dotfiles/.local/share/applications/sxiv.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Type=Application
+Name=sxiv
+GenericName=Image Viewer
+Exec=sxiv-rifle %F
+MimeType=image/bmp;image/gif;image/jpeg;image/jpg;image/png;image/tiff;image/x-bmp;image/x-portable-anymap;image/x-portable-bitmap;image/x-portable-graymap;image/x-tga;image/x-xpixmap;
+NoDisplay=true
+Icon=sxiv