Skip to content
This repository has been archived by the owner on Oct 22, 2023. It is now read-only.
/ puush-linux Public archive

Bash script to provide puush.me screenshot and file upload functionality for linux users.

Notifications You must be signed in to change notification settings

jacklul/puush-linux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

puush-linux

Bash script to provide puush.me screenshot and file upload functionality for linux users.

Rewrite of script created by Sunmock Yang (https://github.com/sunmockyang/puush-linux)

Dependencies

  • scrot
  • curl
  • xclip
  • notify-send (notify-osd package)
  • zenity (optional for file selector, without it -f option will be unavailable)

Installation

  • Clone/Download this repository, unzip it then navigate to puush-linux-master directory
  • Run puush-install as root.
  • Done, you can remove unpacked files.

First time you will run puush command it will ask you for API key, see puush.me Account Settings to get yours, if you started the command from outside the terminal (keyboard shortcut) you will have to enter your API key manually in ~/.config/puush/puush.conf file.

Usage

Set up keyboard shortcuts within linux (in Ubuntu it's System Settings > Keyboard > Keyboard Shortcuts > Custom Shortcuts)

command description
puush -d puush desktop
puush -w puush window
puush -a puush area
puush -f upload file

Nautilus integration

Sample Nautilus script:

#!/bin/bash

for arg 
do
	puush "$arg"
done

About

Bash script to provide puush.me screenshot and file upload functionality for linux users.

Topics

Resources

Stars

Watchers

Forks

Languages