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

fix: Use grim to take screenshots on wayland (#6) #8

Merged
merged 6 commits into from
May 21, 2024

Conversation

eklairs
Copy link
Owner

@eklairs eklairs commented May 21, 2024

The go screenshot library cannot take screenshots on wayland, which returns "No token found" even if there is a token on the screen.

This PR creates another function to read token from screen for wayland sessions using grim.

Closes #6

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.

[WAYLAND] [BUG] Screenshot qrcode doesn't work
1 participant