diff options
author | Pavel Makhov <pmakhov@touchtunes.com> | 2018-11-06 16:35:29 -0500 |
---|---|---|
committer | Pavel Makhov <pmakhov@touchtunes.com> | 2018-11-06 16:35:29 -0500 |
commit | 8dfc439d75eef94e503249b4c9b123bee1b97bf8 (patch) | |
tree | cc791376c2dfa5c73b6980687ff11ba461f9e7bf /run-shell/scratch_6.sh | |
parent | a89e2fe76a2134cd473e98c94973267c59567771 (diff) |
improvements for run shell
Diffstat (limited to 'run-shell/scratch_6.sh')
-rwxr-xr-x | run-shell/scratch_6.sh | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/run-shell/scratch_6.sh b/run-shell/scratch_6.sh index f3935a7..be30061 100755 --- a/run-shell/scratch_6.sh +++ b/run-shell/scratch_6.sh @@ -28,10 +28,8 @@ RES=$(xrandr --current | grep '*' | uniq | awk '{print $1}') RNDM=$(uuidgen) IMAGE="/tmp/i3lock$RNDM.png" -if [[ $1 != "" ]]; then - TEXT=$1 -fi -ffmpeg -loglevel panic -f x11grab -video_size 1920x1060 -grab_y 20 -y -i $DISPLAY -filter_complex "boxblur=5" -vframes 1 $IMAGE +ffmpeg -loglevel panic -f x11grab -video_size 1920x1060 -grab_y 20 -y -i :0.0+0,20 -filter_complex "boxblur=9" -vframes 1 $IMAGE +#ffmpeg -loglevel panic -f x11grab -video_size 1920x1060 -grab_y 20 -y -i :0.0+0,20 -filter_complex "boxblur=9" -vframes 1 "/tmp/i3lock$(uuidgen).png" echo $RNDM |