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

Update printInfo() and setupClipboard() #19

Merged
merged 4 commits into from
Sep 12, 2022

Conversation

rawiriblundell
Copy link
Contributor

In response to a comment on #18. This approach should cover a wider range of environments including WSL2 and Mac, where XDG_SESSION_TYPE is not used. Mac, specifically, is addressed by pbcopy, but this will need testing as I don't have a Macbook handy.

@lefterisgar
Copy link
Collaborator

Thanks for the PR! Looks much better now! I've added a fallback so that xclip can be used if wl-clipboard isn't installed on Wayland. Even though xclip is designed for X11 it seems to be working on Wayland just fine.

@lefterisgar lefterisgar merged commit c08d155 into GEROGIANNIS:main Sep 12, 2022
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.

2 participants