Cleaned up scripts folder and moved some stuff

This commit is contained in:
Marko Korhonen 2020-04-17 10:36:41 +03:00
parent 3abc0fb48e
commit 4ac17b2e0b
No known key found for this signature in database
GPG key ID: 911B85FBC6003FE5
33 changed files with 42 additions and 142 deletions

11
home/.scripts/media/imgurviewer Executable file
View file

@ -0,0 +1,11 @@
#!/bin/bash
ALBUMNAME=$(basename $1)
ALBUMDIR=/tmp/imgur/$ALBUMNAME
if [ ! -d $ALBUMDIR ]; then
mkdir -p $ALBUMDIR
imgur-album-downloader $1 $ALBUMDIR
fi
mimeo $ALBUMDIR