Using puush in linux with keyboard shortcuts.
Shell
Switch branches/tags
Nothing to show
Latest commit f415523 Jun 6, 2017 @TicClick TicClick committed with sunmockyang Add clipboard upload (#10)
* add clipboard upload

* add -e to --help output

* fix clipboard upload having no MIME-type

README.md

Puush in Linux

Takes screenshots and uploads them to puush using the puush API and copies the link to clipboard. Recommended for set up with keyboard shortcuts
Utilises gnome-screenshot for taking screenshots, zenity for file uploads (both included in Ubuntu).

Instructions

  • Clone or download the repo
  • In file "puush" add your puush API key to PUUSH_API_KEY
  • Make it executable using chmod +x puush
  • Place this file wherever you want (recommended: /usr/local/bin)
  • Set up keyboard shortcuts within linux
    • (in Ubuntu it's system settings > keyboard > keyboard shortcuts > custom shortcuts)
    • Log out for the changes to take place
    • Here's what it looks like for mine: Puush keyboard setup

Commands

puush -a		# puush desktop
puush -b		# area puush
puush -c		# puush window
puush -d		# file upload

puush -h  	  # help

Dependencies

  • gnome-screenshot
  • zenity
  • curl
  • xclip
  • notify-send

Alternatives