Skip to content

Commit

Permalink
.desktop file: Run pqiv --browse
Browse files Browse the repository at this point in the history
This ensures that people opening pqiv from the file manager can still
access the rest of the files in the directory, as is common with image
viewers.

Contributes-To: #201
  • Loading branch information
chrysn authored and phillipberndt committed Jan 2, 2024
1 parent cc09b10 commit 3913571
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ pqiv.desktop: $(HEADERS)
echo "NoDisplay=true"; \
echo "Icon=emblem-photos"; \
echo "TryExec=$(PREFIX)/bin/pqiv"; \
echo "Exec=$(PREFIX)/bin/pqiv %F"; \
echo "Exec=$(PREFIX)/bin/pqiv --browse %F"; \
echo "MimeType=$(shell cat $(foreach BACKEND, $(sort $(BACKENDS)), $(SOURCEDIR)backends/$(BACKEND).mime) /dev/null | sort | uniq | awk 'ORS=";"')"; \
echo "Categories=Graphics;"; \
echo "Keywords=Viewer;" \
Expand Down

0 comments on commit 3913571

Please sign in to comment.