Skip to content

Conversation

bashbunni
Copy link
Contributor

workaround of other PR

AlejandroSuero and others added 30 commits May 19, 2024 17:03
With [gclip](https://github.com/golang-design/clipboard)
when not copying a png image `gclip -copy -f freeze.svg`
it will copy it as text, otherwise as an image
Added comments for explanation as to why we need to convert to `png`.

Use `HasPrefix` instead of `Contains` from the `strings` pkg.
@denzilv
Copy link

denzilv commented Jun 12, 2025

Hi chat :)

@bashbunni
Copy link
Contributor Author

So, the clipboard package used doesn't work with Wayland or i3wm hence why I couldn't get it working the other day. I think it would be cool to check out some alternate solutions to see how other projects handle this. Flameshot is a great example of copying images to the clipboard across all platforms.

Will take a look

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants