pspg icon indicating copy to clipboard operation
pspg copied to clipboard

Add support for "Clipboard"

Open rsmirnov90 opened this issue 8 months ago • 1 comments

First I just wanted to say fantastic work on pspg! Totally in love with this project.

Would it be possible to add support for the "Clipboard" app (https://github.com/Slackadays/Clipboard)? This would work wonders in terminal-only workflows... Should really be as easy as piping to/from the cb command.

I'd be happy to add it myself but haven't looked at the code yet. ..Any gotchas I should keep in mind?

rsmirnov90 avatar Mar 13 '25 21:03 rsmirnov90

čt 13. 3. 2025 v 22:54 odesílatel Russ @.***> napsal:

First I just wanted to say fantastic work on pspg! Totally in love with this project.

Would it be possible to add support for the "Clipboard" app ( https://github.com/Slackadays/Clipboard)? This would work wonders in terminal-only workflows... Should really be as easy as piping to/from the cb command.

I'd be happy to add it myself but haven't looked at the code yet. ..Any gotchas I should keep in mind?

— Reply to this email directly, view it on GitHub https://github.com/okbob/pspg/issues/248, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEFO43543X5PJ6KPYXOFCD2UH5AVAVCNFSM6AAAAABY7KM7W2VHI2DSMVQWIX3LMV43ASLTON2WKOZSHEYTQNBWGUZTCMA . You are receiving this because you are subscribed to this thread.Message ID: @.***> [image: rsmirnov90]rsmirnov90 created an issue (okbob/pspg#248) https://github.com/okbob/pspg/issues/248

First I just wanted to say fantastic work on pspg! Totally in love with this project.

Thank you :-)

Would it be possible to add support for the "Clipboard" app ( https://github.com/Slackadays/Clipboard)? This would work wonders in terminal-only workflows... Should really be as easy as piping to/from the cb command.

I'd be happy to add it myself but haven't looked at the code yet. ..Any gotchas I should keep in mind?

add new clipboard application should not be hard

try to search in code the identifier clipboard_app

— Reply to this email directly, view it on GitHub https://github.com/okbob/pspg/issues/248, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEFO43543X5PJ6KPYXOFCD2UH5AVAVCNFSM6AAAAABY7KM7W2VHI2DSMVQWIX3LMV43ASLTON2WKOZSHEYTQNBWGUZTCMA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

okbob avatar Mar 14 '25 05:03 okbob

I checked cb and now I think so cb is not designed to be used non interactively. It is mostly interactive application. So in this moment I don't think so support of cb in pspg can be good idea. The prerequisite on cb side is support of non interactive mode with raw interface.

okbob avatar Jul 17 '25 06:07 okbob