configuration/local/bin/anselmage
Felix Van der Jeugt 39e2d934b9
curl > wget
2020-12-04 14:43:22 +01:00

8 lines
203 B
Bash
Executable File

#!/bin/sh
[ "$#" -eq 0 ] && exit
torsocks curl -O "$@"
image="$(basename "$@")"
feh "$image"
mv "$image" /data/pictures/anselmages/
ln -s ../anselmages/"$image" /data/pictures/background-source/"$image"