configuration/local/bin/anselmage

7 lines
177 B
Plaintext
Raw Normal View History

2020-05-13 11:00:38 +02:00
#!/bin/sh
torsocks wget "$@"
image="$(basename "$@")"
feh "$image"
mv "$image" /data/pictures/anselmages/
ln -s ../anselmages/"$image" /data/pictures/background-source/"$image"