Commit 0ab31c5a authored by uoou's avatar uoou

timer for random movie wallpaper

parent 10453bdc
......@@ -20,30 +20,6 @@ if [ "$seconds" -le 0 ];then
fi
randpoint=$((1 + RANDOM % "$seconds"))
ffmpeg -ss "$randpoint" -i "$1" -vf hue=h=310:s=2.8:b=3,eq=contrast=4 -vframes 1 "$location" -y >> /dev/null 2>&1 &&
#ffmpeg -ss "$randpoint" -i "$1" -vframes 1 "$location" -y >> /dev/null 2>&1 &&
#feh --bg-fill "$location"
#,frei0r=glow:1
#,eq=contrast=3:brightness=0.7:saturation=3
#convert "$location" -write MPR:orig +delete \
# \( MPR:orig -separate -delete 1,2 -affine -1.00,0,0,-1.00,0,0 -transform -gravity Center -extent 180x180 \) \
# \( MPR:orig -separate -delete 0,2 -affine -1.06,0,0,-1.06,0,0 -transform -gravity Center -extent 180x180 \) \
# \( MPR:orig -separate -delete 0,1 -affine -1.31,0,0,-1.31,0,0 -transform -gravity Center -extent 180x180 \) \
# -combine "$location"
#convert "$location" \
#-set option:distort:viewport '%wx%h+0+0' \
#-colorspace CMYK -separate null: \
#\( -size 3x3 xc: \( +clone -negate \) \
#+append \( +clone -negate \) -append \) \
#-virtual-pixel tile -filter gaussian \
#\( +clone -distort SRT 60 \) +swap \
#\( +clone -distort SRT 30 \) +swap \
#\( +clone -distort SRT 45 \) +swap \
#\( +clone -fill black -colorize 100 -distort SRT 0 \) +swap +delete \
#-compose Overlay -layers composite \
#-set colorspace CMYK -combine -colorspace RGB \
#"$location" &&
convert "$location" \
-set option:distort:viewport '%wx%h+0+0' \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment