Skip to content

peterdmarshall/webss

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

webss

Setup

Dependencies

This script uses the xclip and jq bash commands, which you may not have installed.
To install jq: sudo apt-get install -y jq
To install xclip: sudo apt-get install -y xclip

Clone the repo

Navigate to your bin
cd /bin

Clone the repo
git clone git@github.com:peterdmarshall/webss.git

Add the folder to your path by adding the following line to the end of ~/.bashrc
export PATH=$PATH:/bin/webss

In order to use keyboard shortcuts on Ubuntu you will also need to edit your /etc/environment file
Append :/bin/webss to the end of the PATH variable in /etc/environment

Make the script executable
cd webss
chmod u+x webss

Get an Imgur clientid

Make an Imgur account if you do not already have one. Register your application with the imgur api

Copy the generated client ID and paste it into /bin/webss/webss.conf CLIENT_ID=YOUR_CLIENT_ID_HERE

Run webss

Open a new shell and run webss. Your clipboard should now have a link to the hosted Imgur image.

Bind to a keyboard shortcut (On Ubuntu)

Navigate to Settings -> Devices -> Keyboard, scroll to the bottom and click the + to add a new shortcut. Make a name for the shortcut and choose your preffered shortcut key combo. Set the command to /bin/webss/webss for non-windowed, and /bin/webss/webss -w for windowed.

Shortcut Example

Usage

Syntax

webss [-w]

Options

-w Grab the current active window instead of the entire screen.

About

Shell script to take screenshots, upload to imgur, and paste the link to your clipboard.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages