Keruspe / GPaste

Clipboard management system
BSD 2-Clause "Simplified" License
781 stars 55 forks source link

Add configuration for an alternate pastebin upload helper command #286

Open mtmiller opened 4 years ago

mtmiller commented 4 years ago

It seems that the interface for "upload to a pastebin service" simply requires any program that takes text on stdin and reports a URL on stdout. This is great, and very simple, which means that the user could use an alternative to wgetpaste for the same functionality. Would you consider adding a configuration key for the name of the upload helper command?

As an example, on my Debian system, I don't have wgetpaste, but I do have pastebinit. I added a simple wrapper shim called wgetpaste to run exec pastebinit on my PATH, and now gpaste-client upload works perfectly. It would be so much simpler if I could configure that with gsettings and not need a shim script.

jeffr1975 commented 2 years ago

I would use this feature. Working on a shim right now.