plugfiles

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

lock.sh (255B)


      1 #!/bin/bash
      2 TMPBG=~/Pictures/screen.png
      3 LOCK=~/Pictures/lock.png
      4 RES=1920x1080
      5  
      6 ffmpeg -f x11grab -video_size $RES -y -i $DISPLAY -i $LOCK -filter_complex "boxblur=5:1,overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2" -vframes 1 $TMPBG
      7 i3lock -i $TMPBG