configuration/local/bin/anselmage
2020-08-27 12:34:24 +02:00

8 lines
200 B
Bash
Executable File

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