updated readme

This commit is contained in:
kageru 2017-11-15 10:13:07 +01:00
parent 38774f0317
commit 19ee145518

View File

@ -17,7 +17,7 @@ I should add that the focus will be on a self-hosted server. If you don't care a
```
$ pip install pysftp
```
`escrotum` which should be available in your favorite package manager
`escrotum` and `notify-send` which should be available in your favorite package manager
(or pre-installed, depending on your distribution and desktop environment).
### Usage
@ -25,5 +25,14 @@ Change all the relevant variables in `config.py` and execute
```
$ python3 pyshare
```
to take a screenshot and upload it.
Depending on your window manager, you can bind this to a hotkey. To cancel the capture, simply right-click.
The script will then, uh, terminate (which is fancy speak for crash because it really doesn't matter).
The script will then, uh, terminate (which is fancy speak for crash because it really doesn't matter).
You can also use the script to upload local files, mirror websites, or share your clipboard. Simply execute
```
$ python3 pyshare -m text
```
This is automatically choose an action based on the contents of your clipboard. Links will be downloaded and mirrored, local paths will be uploaded, and other strings will be uploaded as text files to the remote host.
Afterwards, the link is automatically copied to clipboard.