Commit 1d6fd36a authored by uoou's avatar uoou

timer for random movie wallpaper

parent 254e41b9
......@@ -19,7 +19,7 @@ if [ "$seconds" -le 0 ];then
exit 1
fi
randpoint=$((1 + RANDOM % "$seconds"))
ffmpeg -ss "$randpoint" -i "$1" -vf hue=h=310:s=3.8:b=3,eq=contrast=3 -vframes 1 "$location" -y >> /dev/null 2>&1 &&
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
......
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