Commit c2dffcd9 authored by uoou's avatar uoou

timer for random movie wallpaper

parent b74b74f4
......@@ -19,11 +19,32 @@ if [ "$seconds" -le 0 ];then
exit 1
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" -vf hue=h=310:s=3.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' \
-colorspace CMYK -separate null: \
......@@ -37,6 +58,9 @@ convert "$location" \
-compose Overlay -layers composite \
-set colorspace CMYK -combine -colorspace RGB \
"$location" &&
convert "$location" \
-virtual-pixel edge -channel C -fx "p[-2,-3]" -channel M -fx "p[3,2]" \
"$location" &&
feh --bg-fill "$location"
......@@ -28,7 +28,7 @@ export PROTON_FORCE_LARGE_ADDRESS_AWARE=1
#urxvtd -q -o -f
#hsetroot -solid "#222"
#feh --bg-fill ~/Pictures/Wallpapers/godzilla-site_scaled.jpg
randmovwp &
feh --bg-fill ~/Pictures/Wallpapers/frame.png
picom -b
clipmenud &
#sxhkd &
......
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