Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature request]: Register mime types to open images with swappy #35

Closed
nwg-piotr opened this issue Jun 21, 2020 · 2 comments
Closed
Labels
enhancement New feature or request

Comments

@nwg-piotr
Copy link

In addition to opening a file with swappy -f "~/Desktop/my-gnome-saved-file.png", which is great, you could also create a /usr/share/applications/swappy.desktop entry, and register opening png / jpg files, e.g. like this:

MimeType=image/jpeg;image/jpg;image/png;
@jtheoof jtheoof added the enhancement New feature or request label Jun 21, 2020
jtheoof added a commit that referenced this issue Jun 22, 2020
jtheoof added a commit that referenced this issue Jun 24, 2020
Includes the first swappy logo, yay !

Closes #35
jtheoof added a commit that referenced this issue Jun 24, 2020
- Includes the first swappy logo, yay !
- Includes a desktop file that registers mime type for png files

Closes #35
jtheoof added a commit that referenced this issue Jun 24, 2020
- Includes the first swappy logo, yay !
- Includes a desktop file that registers mime type for png files

Closes #35
@jtheoof
Copy link
Owner

jtheoof commented Jun 24, 2020

So I added a desktop file with #41. If you're on Arch, can you install the latest from swappy-git and let me know if this is what you expected?

@nwg-piotr
Copy link
Author

nwg-piotr commented Jun 24, 2020

Works perfectly well. It would be even better if it also could open jpg one day. :) Not that it's super important.

swappy-scrot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants