Skip to content

A simple python script to copy your current Clipboard to Pastebin, returning the link into the Clipboard

Notifications You must be signed in to change notification settings

david-jointech/ClipboardToPastebin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

ClipoardtoPastebin

A simple python script to copy your current Clipboard to Pastebin, returning the link into the Clipboard.

Requires xsel to be installed. Therefore only works with OSes which use a xserver.

BEFORE USING:

You need to register a Pastebin-Account and Paste the api_dev key to the part in the code. I have commented that part, it's at the end of the code. You also need a Pastebin User key, which can be generated here: http://pastebin.com/api/api_user_key.html If you are a premium user, or want to keep your pastes for longer, change the 'paste_expiredate' in code and remove the call of the del method. Move the smoid-folder to /usr/lib/python3.3/smoid or wherever your python plugins belong.

About

A simple python script to copy your current Clipboard to Pastebin, returning the link into the Clipboard

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages