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

streaming paste to stdout #40

Open
primalmotion opened this issue May 8, 2023 · 3 comments
Open

streaming paste to stdout #40

primalmotion opened this issue May 8, 2023 · 3 comments

Comments

@primalmotion
Copy link

primalmotion commented May 8, 2023

Hi! I'm trying to use piknik in tandem with wl-clipboard to be able to sycn my clipboard between my laptop and my linux phone. Everything works smooth and dandy, but piknik -paste does not seem to have a way to stream the data to stdout (so I can pipe them to wl-copy). Am I missing something obvious or is this a missing feature you would like to consider?

@jedisct1
Copy link
Owner

jedisct1 commented May 8, 2023

Hi!

I'm a little bit confused here. piknik -paste sends the output to stdout. And stdout can be a pipe or anything else:

piknik -pastę | gzip -9 > /tmp/xyz

What exactly doesn't work in your case? Do you get an error message?

@jedisct1
Copy link
Owner

jedisct1 commented May 8, 2023

Do you mean that you would like piknik -paste to block, and output the data as it comes, rather than wait for piknik -copy to have finished?

That can be added, although it requires substantial changes to the protocol, as it wouldn't be copy/paste any more.

@primalmotion
Copy link
Author

yes that's what I mean, continuous paste :)

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

No branches or pull requests

2 participants