mirror of
https://github.com/basecamp/omarchy.git
synced 2025-07-27 12:19:24 +00:00
Let imv open all images by default
This commit is contained in:
7
applications/imv.desktop
Normal file
7
applications/imv.desktop
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Name=imv
|
||||||
|
Exec=imv %F
|
||||||
|
Type=Application
|
||||||
|
MimeType=image/png;image/jpeg;image/jpg;image/gif;image/bmp;image/webp;image/tiff;image/x-xcf;image/x-portable-pixmap;image/x-xbitmap;
|
||||||
|
Terminal=false
|
||||||
|
Categories=Graphics;Viewer;
|
12
install/mimetypes.sh
Normal file
12
install/mimetypes.sh
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
update-desktop-database ~/.local/share/applications
|
||||||
|
|
||||||
|
# Open all images with imv
|
||||||
|
xdg-mime default imv.desktop image/png
|
||||||
|
xdg-mime default imv.desktop image/jpeg
|
||||||
|
xdg-mime default imv.desktop image/gif
|
||||||
|
xdg-mime default imv.desktop image/webp
|
||||||
|
xdg-mime default imv.desktop image/bmp
|
||||||
|
xdg-mime default imv.desktop image/tiff
|
||||||
|
|
||||||
|
# Open PDFs with the Document Viewer
|
||||||
|
xdg-mime default org.gnome.Evince.desktop application/pdf
|
Reference in New Issue
Block a user