Not a member of Pastebin yet?
                        Sign Up,
                        it unlocks many cool features!                    
                - #!/usr/bin/env bash
 - overlay="$HOME/pictures/lock_overlay.png"
 - image="/tmp/screen.png"
 - param=(--textcolor=ffffff00 --insidecolor=e8dcd000 --ringcolor=e8dcd088 --linecolor=2d283e00 --keyhlcolor=e8dcd0ff --ringvercolor=E9A66Cff --separatorcolor=22222200 --insidevercolor=fadd5c00 --ringwrongcolor=CE325Bff --insidewrongcolor=f1345900 )
 - ffmpeg -loglevel quiet -f x11grab -video_size 1366x768 -y -i $DISPLAY -i $overlay -filter_complex "boxblur=10,overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2" -vframes 1 $image
 - feh "$image" &
 - i3lock "${param[@]}" -i "$image" -n
 - sleep 0.05 ; killall feh
 
Advertisement
 
                    Add Comment                
                
                        Please, Sign In to add comment