toqozz / slip Goto Github PK
View Code? Open in Web Editor NEWSelect and upload screenshots, gifs, and screencasts to imgur and gfycat with help of slop.
License: GNU General Public License v3.0
Select and upload screenshots, gifs, and screencasts to imgur and gfycat with help of slop.
License: GNU General Public License v3.0
I'm trying to set font for the menu but seems there's no way to set font with spaces?
DMENU_CMD="dmenu -f -p slip -fn 'BigBlue_TerminalPlus Nerd Font-16:regular' -i -y 520 -x 192 -w 1536 -h 40 -nb #444B6A -sb #444B6A -nf #F7768E -sf #E0AF68"
Hello, thank you for the utility, it's very useful and quick, but even though I can take screenshots with slip --screnshot
or -s
, recording is not working for me.
Here's the error (output):
/usr/bin/slip: line 146: kill: (13021) - No such process
I've copied the (example) config file directly from here (GitHub), and created the vid
and img
directories in my home folder.
I've also noticed that it does create /tmp/slip_record.pid
file with a numeric value.
I remove that file myself to stop slip
. I use it over roti
.
I also have ffmeg
installed along with maim
and slop
.
PS
Seeing copying the link to primary selection (instead of clipboard) option commented in the file and uncommenting it was what I first decided to edit /usr/bin/slip
for :)
Check out how https://github.com/jomo/imgur-screenshot does their configs to allow people to upload images anonymously, or optionally allow them to upload to their personal imgur account.
My hope is to pretty much replicate their script but with gifs, and slip is SOO close! Essentially I want a script that I hit a hotkey, select the area, or click on a window, and it records a gif of that selection or window. It should stop on the next keyboard or mouse input and automatically upload the gif, either to gifycat or imgur, and return the link, copying it to the clipboard. If the gif is too large, it should say so and offer to open the location in the user's file manager.
It is sorta useless to have a gif recorder if the end of the gif recording you see running slip again and manually selecting stop. Please allow the command slip --stop to stop recording and save the file, without asking if it should be deleted.
edit looking through the code I see slip -q will stop recording. Please either put this in the readme, along with the rest of the options you omitted or at least make slip --stop synonymous with slip -q. One should not have to dig into the code to find simple functions like these that should be documented in the readme on github.
As it is a script I did not expect --help to work, which such a feature should also be listed on the github readme.
It seems the gfycat api isn't being used right, I get the URLs but they always have no content, even after a very long time.
As the title says, this is more of a feature request than an issue
Would be great if I could use slip for everything, including
Instead of showing a notification on completion, can you display the rofi menu to answer the question "Do you want to upload to imgur?" ?
To upload videos, we can convert them into gif images:
$ mplayer -ao null vid-2017-05-29-155452.mkv -vo jpeg:outdir=vid-2017-05-29-155452/
$ ffmpeg -i vid-2017-05-29-155452/00000%03d.jpg vid-2017-05-29-155452.gif
$ imgur.sh vid-2017-05-29-155452.gif
Thanks for considering this feature
EDIT: forgot about imgur's nginx filesize limitation. Might be worth considering another hosting service for videos.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.