summaryrefslogtreecommitdiffstats
path: root/.local/bin/getgif
blob: 4c2c02f69b12bce33006138ec10f70bb35431df8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

#Description: Takes in a link to some content and what you would like to name it, then downloads and converts said content to a gif in your GIFS folder.

#Axioms: GIFS

#Dependencies: https://packages.debian.org/sid/ffmpeg https://packages.debian.org/sid/tor


link=$1
name=$2
torsocks ffmpeg -hwaccel auto -i "$link" -deadline best "/home/$USER/Pictures/gif/$name.gif"