Skip to content

Instantly share code, notes, and snippets.

@kellpossible
Created April 29, 2017 15:02
Show Gist options
  • Save kellpossible/66bdc233bde22fb1080681e57fdaa32f to your computer and use it in GitHub Desktop.
Save kellpossible/66bdc233bde22fb1080681e57fdaa32f to your computer and use it in GitHub Desktop.
A desktop file/run configuration that sets feh up to open such that you can scroll through all the other images in the same directory
[Desktop Entry]
Name=Feh
Name[en_US]=feh
GenericName=Image viewer
GenericName[en_US]=Image viewer
Comment=Fast Imlib2-based Image Viewer
Exec=bash -c "feh -. --start-at ./$(realpath --relative-to=$(dirname %f) %f)"
Terminal=false
Type=Application
Icon=feh
Categories=Graphics;2DGraphics;Viewer;
MimeType=image/bmp;image/gif;image/jpeg;image/jpg;image/pjpeg;image/png;image/tiff;image/x-bmp;image/x-pcx;image/x-png;image/x-portable-anymap;image/x-portable-bitmap;image/x-portable-graymap;image/x-portable-pixmap;image/x-tga;image/x-xbitmap;
NoDisplay=true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment