Add script to fetch anselmages

This commit is contained in:
Felix Van der Jeugt 2020-05-13 11:00:38 +02:00
parent 723288294e
commit 81cbcd8a4f
No known key found for this signature in database
GPG Key ID: 58B209295023754D

6
local/bin/anselmage Executable file
View File

@ -0,0 +1,6 @@
#!/bin/sh
torsocks wget "$@"
image="$(basename "$@")"
feh "$image"
mv "$image" /data/pictures/anselmages/
ln -s ../anselmages/"$image" /data/pictures/background-source/"$image"