From 0d05ef1e12314985988e567ac22a179d0f646899 Mon Sep 17 00:00:00 2001 From: msglm Date: Sat, 14 Jan 2023 10:33:04 -0600 Subject: Inital Commit --- .local/bin/getgif | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 .local/bin/getgif (limited to '.local/bin/getgif') diff --git a/.local/bin/getgif b/.local/bin/getgif new file mode 100755 index 0000000..4c2c02f --- /dev/null +++ b/.local/bin/getgif @@ -0,0 +1,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" -- cgit v1.2.3