mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
* Feed the image folder to the Image Viewer so the next/previous image navigation works When double clicking an image in Nautilus, my expectation is that I can navigate to the other images in the folder with the arrow keys. This doesn't happen currently because the imv command receives only the filename as a parameter. However, if we use: `imv -n /myfolder/image.jpg /myfolder` works becasue we're opening the folder starting at the image given by the -n parameter. * add migration for imv.desktop update * Simplify migration --------- Co-authored-by: David Heinemeier Hansson <david@hey.com>
9 lines
287 B
Desktop File
9 lines
287 B
Desktop File
[Desktop Entry]
|
|
Name=Image Viewer
|
|
Exec=sh -c 'imv -n "$1" "$(dirname "$1")"' sh %f
|
|
Icon=imv
|
|
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;
|