blob: db807590f6cdc310363695aa39cca60077dd97c1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/bin/bash
CUR_WP_LOC=~/.local/scripts/data/wp.jpg
while read file
do
case "$1" in
"w") setbg $file; cp $file $CUR_WP_LOC ;;
"r") mv $file /home/rasmus/.trash/;;
esac
done
|