Commit ab432e01 authored by uoou's avatar uoou

timer for random movie wallpaper

parent fa198b85
#!/usr/bin/env bash
cp /home/drew/Pictures/Wallpapers/frame.png /home/drew/Pictures/Wallpapers/movwp/`date +%F_%H%M%S_%N`.png
......@@ -19,7 +19,7 @@ if [ "$seconds" -le 0 ];then
exit 1
fi
randpoint=$((1 + RANDOM % "$seconds"))
ffmpeg -ss "$randpoint" -i "$1" -vf hue=h=320:s=2.5: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 &&
#feh --bg-fill "$location"
#,frei0r=glow:1
#,eq=contrast=3:brightness=0.7:saturation=3
......@@ -38,19 +38,5 @@ convert "$location" \
-set colorspace CMYK -combine -colorspace RGB \
"$location" &&
#convert "$location" -level 0x70% \
#-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 -distort SRT 0 \) +swap +delete \
#-compose Overlay -layers composite \
#-set colorspace CMYK -combine -colorspace RGB \
#"$location" &&
feh --bg-fill "$location"
/home/drew/share/films/Capricorn.One.1978.720p.BRRip.x264-x0r/Capricorn.One.1978.720p.BRRip.x264-x0r.mkv
/home/drew/share/films/White.Men.Cant.Jump.1992.UNRATED.1080p.BluRay.x264.anoXmous/White.Men.Cant.Jump.1992.UNRATED.1080p.BluRay.x264.anoXmous_.mp4
/home/drew/share/films/Planet.Of.The.Apes.1968.1080p.BluRay.H264.AAC-RARBG/Planet.Of.The.Apes.1968.1080p.BluRay.H264.AAC-RARBG.mp4
/home/drew/share/films/Hackers/Hackers.1995.mp4
/home/drew/share/films/Please Stand By (2017) [BluRay] [720p] [YTS.AM]/Please.Stand.By.2017.720p.BluRay.x264-[YTS.AM].mp4
/home/drew/share/films/The.Time.Machine.1960.720p.BluRay.x264.AAC-ETRG/The.Time.Machine.1960.720p.BluRay.x264.AAC-ETRG.mp4
/home/drew/share/films/Please Stand By (2017) [BluRay] [720p] [YTS.AM]/Please.Stand.By.2017.mp4
/home/drew/share/films/1776 (1972)/1776.1972.720p.BluRay.x264.YIFY.mp4
#!/usr/bin/env bash
#xrandr --output DP-0.8 --mode 1920x1080 &&
xmodmap -e "keycode 37 = Control_R" &&
sudo machinectl shell -E WINEDEBUG=-all -E WINEPREFIX=/home/drew/.wine_ow [email protected] /usr/bin/wine ~/.wine_ow/drive_c/Program\ Files\ \(x86\)/Battle.net/Battle.net\ Launcher.exe &
#WINEDEBUG=-all WINEPREFIX=~/.wine_ow WINEARCH=win64 __GL_THREADED_OPTIMIZATIONS=1 wine .wine_d3/drive_c/Program\ Files\ \(x86\)/Battle.net/Battle.net\ Launcher.exe &
#!/usr/bin/env bash
mpv "https://www.youtube.com/watch?v=uZoOS_QQahg" &
#!/usr/bin/env bash
randfile=$(find ~/share/films/ ~/Downloads/ -iname "*.mp4" -o -iname "*.mkv" -o -iname "*.avi" -o -iname "*.mov" | shuf -n 1)
#randfile=$(shuf -n 1 /home/drew/bin/movwp_whitelist.txt)
#randfile=$(find ~/share/films/ ~/Downloads/ -iname "*.mp4" -o -iname "*.mkv" -o -iname "*.avi" -o -iname "*.mov" | shuf -n 1)
randfile=$(shuf -n 1 /home/drew/bin/movwp_whitelist.txt)
echo "$randfile" > /home/drew/Pictures/Wallpapers/movwp.txt
/home/drew/bin/movwp "$randfile"
/home/drew/bin/movwp_halftone "$randfile"
/home/drew/.config/systemd/user/rmovwallp.timer
\ No newline at end of file
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