diff options
author | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2020-11-06 18:20:18 +0300 |
---|---|---|
committer | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2020-11-06 18:20:18 +0300 |
commit | f6b198fc6a5839a4588e21efc91bbfdbe2e56623 (patch) | |
tree | 91c5dba4258e2ab2954def3b68cc894fbec5ed9a /dotfiles | |
parent | 86f1f40f068d4f5d7fc8f8be951372bbb61dd50a (diff) | |
download | swayrice-f6b198fc6a5839a4588e21efc91bbfdbe2e56623.tar.gz swayrice-f6b198fc6a5839a4588e21efc91bbfdbe2e56623.zip |
use imv for gifs, sxiv for other images
Diffstat (limited to 'dotfiles')
-rw-r--r-- | dotfiles/.config/mimeapps.list | 8 | ||||
-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.desktop | 8 |
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 |