Copy the pastie.py file from this repo into ~/.local/share/kupfer/plugins
(you might need to create the folder) and activate the plugin in the Kupfer preferences.
- open Kupfer
- type
pastie
- select the syntax highlighting you wish to use on pastie
- press ↵
Kupfer will send the data from your clipboard to pastie and open the generated pastie in your browser for you (see the gif up-above).
Pull requests are always welcome!
This software is distributed under the WTF Public License.
Thanks to @fklingler for the original idea. If you are using Mac OSX, you might want to check out his pastie workflow for Alfred.